/* All rules are confined to the independent test table. */
#apt{--accent:#393d8b;--blue:#537ff0;--border:#e9e9e9;max-width:1450px;width:calc(100% - 64px);margin:20px auto 40px;color:#111;font:16px/1.6 Montserrat,Arial,sans-serif;scroll-margin-top:115px}
#apt *,#apt *::before,#apt *::after{box-sizing:border-box}#apt [hidden]{display:none!important}#apt button,#apt input,#apt select{font:inherit;text-transform:none;letter-spacing:normal;box-shadow:none}#apt button{cursor:pointer;margin:0;line-height:1.3}#apt input,#apt select{margin:0;color:#111}#apt button:disabled{opacity:.5;cursor:default}#apt :focus-visible{outline:3px solid #537ff0;outline-offset:3px}#apt h1{display:flex;align-items:center;gap:18px;font-size:22px;line-height:1.4;text-align:center;text-transform:uppercase;color:#401449;margin:16px 0 36px;font-weight:600}#apt h1::before,#apt h1::after{content:'';flex:1;height:2px;background:#eee}#apt h1 span{flex:0 1 auto}
#apt .apt-tabs{display:flex;flex-wrap:wrap;align-items:end;gap:0 6px;margin:0;position:relative;z-index:1}#apt .apt-tabs button{border:2px solid #e9e9e9;border-bottom:0;background:#f5f5f5;color:#111;border-radius:16px 16px 0 0;box-shadow:inset 0 1px 3px #0000000c;min-height:44px;padding:10px 15px;font-size:13px;font-weight:600;white-space:nowrap}#apt .apt-tabs [aria-selected=true]{background:#fff;position:relative}#apt .apt-tabs [aria-selected=true]::after{position:absolute;content:'';height:4px;bottom:-3px;left:0;right:0;background:white}
#apt .apt-layout{display:grid;grid-template-columns:245px minmax(0,1fr);align-items:start;gap:20px;border:2px solid var(--border);padding:30px;background:white}#apt .apt-main{min-width:0}#apt .apt-filters{position:sticky;top:110px;max-height:calc(100vh - 130px);overflow:auto;overscroll-behavior:contain;background:#fafafa;border:0;border-radius:12px 12px 0 0;padding:0 15px 16px;margin:0;scrollbar-width:thin;scrollbar-color:#ccc transparent}#apt .apt-brand-logo{height:190px;display:flex;justify-content:center;align-items:center;border-bottom:1px solid #eee;margin:0 -15px 0;padding:14px}#apt .apt-brand-logo img{width:190px;height:165px;object-fit:contain;max-width:100%}#apt details{padding:10px 0;border:0}#apt summary{display:flex;align-items:center;justify-content:space-between;list-style:none;font-size:16px;font-weight:600;cursor:pointer;min-height:30px;line-height:1.4}#apt summary::-webkit-details-marker{display:none}#apt summary::after{content:'⌄';font-size:17px;flex-shrink:0;margin-left:6px}#apt details[open]>summary::after{content:'⌃'}#apt .apt-filters label{display:flex;align-items:baseline;gap:6px;font-size:13px;line-height:1.5;margin:6px 0;font-weight:400;color:#222}#apt input[type=checkbox],#apt input[type=radio]{appearance:auto;-webkit-appearance:auto;accent-color:#537ff0;flex:0 0 auto;width:14px;height:14px;margin:0;cursor:pointer}#apt .apt-taste label{padding:3px 0;min-height:28px}#apt .apt-taste-count{color:#537ff0}
#apt .apt-price-inputs{display:flex;align-items:center;gap:6px;margin:12px 0}#apt .apt-price-inputs input{width:50px;min-width:0;height:36px;padding:5px 6px;border:1px solid #ddd;border-radius:3px;background:white;box-shadow:0 1px 4px #00000013;font-size:15px}#apt .apt-price-inputs button{height:36px;min-width:42px;padding:4px 7px;border:1px solid #ddd;background:#fff;border-radius:3px;color:#555;font-weight:400;box-shadow:0 1px 4px #00000013}#apt .apt-dual-range{position:relative;height:28px;margin:6px 0 10px}#apt .apt-dual-range::before{content:'';position:absolute;height:6px;top:11px;left:6px;right:6px;background:#537ff0;border-radius:10px}#apt .apt-range{appearance:none;-webkit-appearance:none;background:transparent;pointer-events:none;position:absolute;left:0;top:0;width:100%;height:28px;border:0;padding:0;margin:0;box-shadow:none}#apt .apt-range::-webkit-slider-runnable-track{height:6px;background:transparent}#apt .apt-range::-moz-range-track{height:6px;background:transparent}#apt .apt-range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;pointer-events:auto;width:18px;height:18px;border:1px solid white;border-radius:50%;background:#537ff0;cursor:ew-resize;margin-top:-6px}#apt .apt-range::-moz-range-thumb{pointer-events:auto;width:17px;height:17px;border:1px solid white;border-radius:50%;background:#537ff0;cursor:ew-resize}
#apt .apt-sort label{margin:3px 0}#apt .apt-favorite-filter{justify-content:center;background:#537ff0;color:white!important;border-radius:30px;padding:7px 10px;font-size:15px!important;font-weight:600!important;margin:12px 8px!important}#apt .apt-favorite-filter input{accent-color:#315bd0}#apt .apt-filters button[type=reset]{display:block;border:0;border-radius:4px;background:#ffe8e8;color:#2458a0;font-size:13px;padding:7px 12px;margin:10px auto 0}
#apt .apt-brand-intro{margin:0 0 26px}#apt .apt-brand-intro h2{border-bottom:5px solid var(--brand);font-size:26px;line-height:1.3;font-weight:600;color:#fff;margin:0 0 16px}#apt .apt-brand-intro h2 span{background:var(--brand);padding:2px 10px 3px;border-radius:12px 12px 0 0;display:inline-block;max-width:100%}#apt .apt-brand-intro p{font-size:16px;line-height:1.6;margin:0;color:#333}#apt .apt-brand-intro p:empty{display:none}#apt .apt-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;row-gap:5px;align-items:center;background:#f5f5f5;border-radius:12px;padding:16px;margin:0 0 12px}#apt .apt-toolbar>[role=status]{grid-column:1;font-size:14px;font-weight:600}#apt .apt-search{grid-column:1;grid-row:1;position:relative;display:flex;align-items:center;max-width:500px;min-width:0;margin:0;scroll-margin-top:115px}#apt .apt-search input{height:42px;min-width:0;width:100%;padding:8px 42px 8px 10px;border:1px solid #ddd;border-radius:4px;background:#fff;box-shadow:0 1px 4px #00000012;font-size:15px}#apt .apt-search-go{position:absolute;right:4px;top:4px;width:32px;height:34px;border:0;border-radius:3px;background:#eee;font-size:26px;padding:0;color:#333}#apt .apt-toolbar>.apt-pages{grid-column:2;grid-row:1/3;align-items:center}#apt .apt-pages{display:flex;justify-content:flex-end;gap:8px;padding:0;align-items:center;margin:14px 0}#apt .apt-pages button{min-width:34px;height:34px;border:1px solid #ddd;border-radius:50%;background:#fff;color:#111;padding:3px 7px;font-size:14px;font-weight:400;box-shadow:0 1px 3px #00000012}#apt .apt-pages [aria-current=page]{background:#537ff0;color:white;border-color:#537ff0}
#apt .apt-table{border-collapse:collapse;table-layout:fixed;width:100%;margin:0;font-size:14px;line-height:1.25;color:#111}#apt .apt-table th{font-size:13px;font-weight:600;text-align:left;line-height:1.2;height:38px;border-bottom:2px solid #ccc;padding:4px 8px;color:#111}#apt .apt-table th:first-child{width:26px}#apt .apt-table th:nth-child(2){width:36%}#apt .apt-table th:nth-child(3){width:10%}#apt .apt-table th button{padding:0;border:0;background:none;font-size:13px;min-height:32px;color:#111;font-weight:600;text-transform:uppercase}#apt abbr{border:0;text-decoration:none}#apt .apt-table td{border:0;vertical-align:middle;padding:18px 8px;overflow-wrap:anywhere;color:#111}#apt .apt-table tr:nth-child(odd){background:#fafafa}#apt .apt-table tr:nth-child(even){background:#fff}#apt .apt-table td:nth-child(2){position:relative;padding-left:66px}#apt .apt-logo{position:absolute;left:6px;top:50%;transform:translateY(-50%);width:46px;height:46px;object-fit:contain;border-radius:8px}#apt .apt-title{display:inline;line-height:1.15}#apt .apt-title a{font-size:20px;color:#393d8b;font-weight:600}#apt .apt-title strong{font-weight:600}#apt .apt-heart{display:inline-block;min-width:18px;width:18px;height:22px;vertical-align:middle;border:0;background:transparent;color:#af407f;font-size:23px;line-height:1;padding:0;margin:0 3px 0 0}#apt .apt-heart[aria-pressed=true]{color:#b5006d;background:#ffe5f2;border-radius:4px}#apt .apt-quick{display:block;padding:5px 0 2px;border:0;background:none;color:#668ed7;font-size:14px;font-weight:600;text-align:left}#apt .apt-quick::before{content:'⌕ ';font-size:18px;line-height:12px}#apt .apt-table small{display:inline;font-size:12px;color:#555;line-height:1.2}#apt .apt-taste-label{text-transform:uppercase}#apt .apt-tag{display:inline-block;background:#ef1c1c;color:white;border-radius:4px;padding:3px 8px;font-size:12px;font-weight:600;margin:3px 4px;vertical-align:middle}#apt .apt-tag[data-tag=top]{background:#ee9c09}#apt .apt-tag[data-tag=novinka]{background:#b50572}#apt .apt-stock{font-size:10px;letter-spacing:2px;color:#a3c743;white-space:nowrap}#apt .apt-stock[data-level="1"],#apt .apt-stock[data-level="2"]{color:#e99132}
#apt .apt-pack{display:inline-block;width:calc(100% - 190px);min-width:120px;max-width:280px;height:42px;border:2px solid #e8e8e8;border-radius:24px;background-color:white;color:#111;font-size:14px;font-weight:600;padding:6px 28px 6px 10px;vertical-align:middle}#apt .apt-order{display:inline-flex;align-items:center;gap:7px;width:180px;margin-left:6px;vertical-align:middle}#apt .apt-count{width:56px;height:42px;border:2px solid #e8e8e8;border-radius:24px;text-align:center;background:white;padding:4px 6px;font-size:15px;font-weight:600;appearance:textfield;-moz-appearance:textfield}#apt .apt-count::-webkit-inner-spin-button,#apt .apt-count::-webkit-outer-spin-button{appearance:none;-webkit-appearance:none;margin:0}#apt .apt-order>span{font-size:13px;font-weight:600;white-space:nowrap}#apt .apt-add{border:0;background:#43c77b;color:white;border-radius:18px;padding:8px 10px;font-size:14px;font-weight:600;white-space:nowrap;min-height:38px}#apt .apt-add:hover{background:#2fb46a}#apt .apt-row-message{display:block;font-size:12px;color:#357a50;margin-top:5px}#apt .apt-row-message:empty{display:none}#apt .apt-bulk{display:flex;align-items:center;gap:12px;padding:8px 0}#apt #apt-bulk{background:#43c77b;color:white;padding:9px 15px;border:0;border-radius:20px;font-size:14px}#apt #apt-active-filters{display:flex;flex-wrap:wrap;gap:6px}#apt #apt-active-filters:empty{display:none}#apt #apt-active-filters button{font-size:12px;color:#2458a0;background:#ffe8e8;border:0;border-radius:5px;padding:6px;margin:0 0 8px}#apt-message{font-size:14px;color:#a32548}#apt-results[aria-busy=true]{opacity:.55}#apt-results{scroll-margin-top:115px}#apt .apt-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#apt #apt-cart-summary{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);z-index:30;max-width:calc(100vw - 32px);padding:10px 24px;background:#401449;color:#fff;border-radius:12px;box-shadow:0 4px 20px #22112222;font-size:15px;line-height:1.4}#apt #apt-cart-summary a,#apt #apt-cart-summary .amount,#apt #apt-cart-summary bdi,#apt #apt-cart-summary .woocommerce-Price-currencySymbol{color:white}#apt #apt-cart-summary small{display:block;color:#dfcede;font-size:11px}#apt #apt-filter-toggle,#apt .apt-show-products{display:none}
@media(min-width:1500px){#apt .apt-table th:nth-child(2){width:34%}#apt .apt-order{width:210px;gap:10px}#apt .apt-pack{width:calc(100% - 220px)}#apt .apt-count{width:70px}#apt .apt-add{padding:9px 14px}}
@media(max-width:1199px){#apt{width:calc(100% - 32px)}#apt .apt-layout{grid-template-columns:220px minmax(0,1fr);padding:22px;gap:18px}#apt .apt-pack{width:100%;max-width:none}#apt .apt-order{display:flex;width:100%;margin:7px 0 0;justify-content:flex-end}#apt .apt-table th:nth-child(2){width:45%}#apt .apt-table th:nth-child(3){width:12%}#apt .apt-title a{font-size:18px}#apt .apt-toolbar{column-gap:10px;padding:13px}#apt .apt-pages{gap:5px}#apt .apt-brand-intro h2{font-size:24px}}
@media(max-width:900px){#apt .apt-layout{grid-template-columns:190px minmax(0,1fr);padding:16px;gap:14px}#apt .apt-brand-logo{height:160px}#apt .apt-brand-logo img{width:150px;height:140px}#apt .apt-toolbar{grid-template-columns:1fr}#apt .apt-toolbar>.apt-pages{grid-column:1;grid-row:3;justify-content:flex-end;margin:5px 0}#apt .apt-search{max-width:none}#apt .apt-price-inputs{gap:4px}#apt .apt-price-inputs input{width:42px}#apt h1{font-size:20px}}
@media(max-width:700px){#apt{width:calc(100% - 24px);margin:14px auto 95px;font-size:15px}#apt h1{font-size:17px;gap:8px;margin:16px 0 24px}#apt h1::before,#apt h1::after{min-width:10px}#apt .apt-tabs{gap:4px;margin-bottom:8px;align-items:stretch}#apt .apt-tabs button{border:1px solid #ddd;border-radius:10px;padding:9px 12px;font-size:12px;min-height:44px}#apt .apt-tabs [aria-selected=true]{border-color:#537ff0;box-shadow:inset 0 -3px #537ff0}#apt .apt-tabs [aria-selected=true]::after{display:none}#apt .apt-layout{display:block;padding:12px;border-radius:0 0 8px 8px}#apt #apt-filter-toggle{display:block;width:100%;border:1px solid #ddd;border-radius:6px;background:#f6f6f6;padding:10px 14px;min-height:44px;font-size:15px;color:#333;margin:8px 0}#apt .apt-filters{display:none;position:static;max-height:none;overflow:visible;margin-bottom:18px;padding:12px;background:#fafafa;border:1px solid #eee;border-radius:6px}#apt .apt-filters.is-open{display:block}#apt .apt-brand-logo{height:100px;border:0;margin:0}#apt .apt-brand-logo img{width:140px;height:95px}#apt .apt-filters label{font-size:14px;min-height:32px;align-items:center}#apt input[type=checkbox],#apt input[type=radio]{width:18px;height:18px}#apt .apt-taste label{min-height:38px}#apt .apt-show-products{display:block;width:100%;border:0;border-radius:20px;background:#537ff0;color:#fff;min-height:44px;margin-top:12px}#apt .apt-price-inputs input{width:70px;height:42px}#apt .apt-price-inputs button{height:42px}#apt .apt-dual-range{max-width:300px;margin-top:14px}#apt .apt-brand-intro{margin-bottom:18px}#apt .apt-brand-intro h2{font-size:21px;line-height:1.35;margin-bottom:12px}#apt .apt-brand-intro p{font-size:14px;line-height:1.55}#apt .apt-toolbar{padding:12px;margin-bottom:12px}#apt .apt-toolbar>[role=status]{font-size:13px}#apt .apt-pages{gap:7px;flex-wrap:wrap}#apt .apt-pages button{width:40px;height:40px}#apt .apt-table thead{display:none}#apt .apt-table,#apt .apt-table tbody,#apt .apt-table tr,#apt .apt-table td{display:block;width:100%}#apt .apt-table tr{position:relative;border-top:1px solid #eee;padding:14px 10px;margin:0}#apt .apt-table tr:nth-child(odd){background:#fafafa}#apt .apt-table td{padding:0;border:0}#apt .apt-table td:first-child{position:absolute;right:12px;top:18px;width:22px}#apt .apt-table td:nth-child(2){min-height:70px;padding:0 28px 8px 54px}#apt .apt-logo{display:block;left:0;top:8px;transform:none;width:44px;height:44px}#apt .apt-title a{font-size:18px}#apt .apt-table small{font-size:12px}#apt .apt-table td:nth-child(3){font-size:12px;padding:3px 0 9px 54px}#apt .apt-table td:nth-child(3)::before{content:'Наличие: ';color:#666}#apt .apt-table td:nth-child(4){padding:0 0 2px 54px}#apt .apt-pack{height:44px;width:100%;max-width:none;font-size:14px}#apt .apt-order{width:100%;margin:8px 0 0;gap:8px;justify-content:flex-start}#apt .apt-count{width:66px;height:44px;font-size:16px}#apt .apt-add{min-height:44px;padding:10px 14px;font-size:14px;margin-left:auto}#apt #apt-cart-summary{bottom:10px;padding:9px 18px;font-size:14px;white-space:nowrap}#apt .apt-bulk{flex-wrap:wrap}#apt #apt-bulk{min-height:44px}}
@media(prefers-reduced-motion:reduce){#apt *{scroll-behavior:auto!important}}
/* Neutralize the theme's 2.5em button minimum inside compact table controls. */
#apt .apt-heart,#apt .apt-quick,#apt .apt-search-go{min-height:0}#apt .apt-brand-logo:empty{display:none}
#apt .apt-pages{gap:6px}#apt .apt-pages .apt-page-arrow{border:0;box-shadow:none;min-width:16px;width:16px;padding:0;background:none;color:#777}#apt .apt-pages .apt-page-arrow:disabled{opacity:.25}#apt .apt-icon{display:inline-block;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;vertical-align:middle;margin-right:4px;flex-shrink:0}#apt .apt-quick::before{content:none}#apt .apt-add{display:inline-flex;align-items:center;justify-content:center}#apt .apt-search-go{font-size:23px}
@media(max-width:700px){#apt .apt-pages{gap:5px}#apt .apt-pages .apt-page-arrow{width:20px;min-width:20px;height:40px}}
/* On portrait tablets, keep the table wide enough for headings and purchase controls. */
@media(min-width:701px) and (max-width:900px){
 #apt .apt-layout{grid-template-columns:minmax(0,1fr);gap:0}
 #apt .apt-filters{display:none;position:static;max-height:none;overflow:visible;margin-bottom:18px;padding:15px}
 #apt .apt-filters.is-open{display:block}
 #apt #apt-filter-toggle{display:block;width:100%;border:1px solid #ddd;border-radius:6px;background:#f6f6f6;padding:10px 14px;min-height:44px;font-size:15px;color:#333;margin:8px 0}
 #apt .apt-show-products{display:block;min-height:44px;background:#537ff0;color:white;border:0;border-radius:22px;padding:8px 20px;margin-top:12px}
 #apt .apt-filters label{min-height:32px}
 #apt .apt-price-inputs input{width:70px}
 #apt .apt-dual-range{max-width:300px}
 #apt .apt-table th:nth-child(2){width:42%}
 #apt .apt-table th:nth-child(3){width:16%}
 #apt .apt-order{flex-wrap:wrap}
}
@media(min-width:901px){#apt h1{margin-bottom:32px}#apt .apt-tabs button{font-size:13.3333px;font-weight:700;line-height:1.6}}
#apt .apt-manufacturers{padding-top:12px;padding-bottom:12px}#apt .apt-manufacturers label{display:flex;align-items:center;gap:5px;min-height:36px;margin:2px 0;font-size:13px;line-height:1.3}#apt .apt-manufacturers label img{width:28px;height:28px;object-fit:contain;border-radius:5px;flex:0 0 28px}#apt .apt-manufacturers label span{min-width:0}#apt .apt-manufacturers summary>span{color:#537ff0}#apt .apt-manufacturers summary{margin-bottom:6px}

/* Source-specific presentation, isolated within the test table. */
#apt .apt-title a{color:var(--title-color,#02499b)}
#apt.apt-food .apt-layout{grid-template-columns:minmax(0,1fr)}
#apt .apt-food-group{margin-bottom:36px;min-width:0}
#apt .apt-food-group>.apt-brand-intro{margin-bottom:16px}
#apt .apt-food-group .apt-table th:nth-child(2){width:45%}
#apt .apt-food-group .apt-logo{width:46px;height:60px;border-radius:0}
#apt .apt-food-group .apt-title a{font-size:20px}
#apt .apt-food-group .apt-toolbar{display:none}
@media(max-width:700px){#apt .apt-food-group .apt-title a{font-size:18px}}

#apt .apt-food-sort{display:none}
@media(max-width:700px){#apt .apt-food-sort{display:block;font-size:13px;margin-bottom:10px}#apt .apt-food-sort select{display:block;width:100%;height:44px;margin-top:5px;border:1px solid #ddd;border-radius:6px;background:#fff}}

@media(min-width:901px){
 #apt .apt-food-group .apt-table th:nth-child(2){width:32%}
 #apt .apt-food-group .apt-table th:nth-child(3){width:14%}
 #apt .apt-food-group .apt-table td:nth-child(2){padding-left:132px}
 #apt .apt-food-group .apt-logo{width:90px;height:90px;left:24px}
 #apt .apt-food-group .apt-heart{display:block;margin-bottom:4px}
 #apt .apt-food-group .apt-table td{padding-top:22px;padding-bottom:22px}
}

/* Matching compact icons use fixed geometry in every browser. */
#apt summary{justify-content:flex-start}
#apt summary>span{margin-left:5px;margin-right:5px}
#apt summary>span:empty{display:none}
#apt summary::after{content:'';width:8px;height:8px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg);font-size:0;margin:-4px 3px 0 auto;flex:0 0 8px}
#apt details[open]>summary::after{content:'';transform:rotate(225deg);margin-top:4px}
#apt .apt-sort-icon{display:inline-block;width:9px;height:13px;fill:#bbb;vertical-align:-2px;margin:0 4px;flex-shrink:0}
#apt [aria-sort=ascending] .apt-sort-up,#apt [aria-sort=descending] .apt-sort-down{fill:#555}
#apt .apt-heart,#apt .apt-food-group .apt-heart{display:inline-flex;align-items:center;justify-content:center;min-height:0;min-width:18px;width:18px;height:20px;padding:0;margin:0 3px 0 0;vertical-align:-2px;border:0;border-radius:0;background:transparent;color:#c00072;box-shadow:none;line-height:1}
#apt .apt-heart svg{display:block;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
#apt .apt-heart[aria-pressed=true]{background:transparent;color:#c00072;border-radius:0}
#apt .apt-heart[aria-pressed=true] svg{fill:currentColor}
#apt .apt-legend{position:relative;display:inline-block;vertical-align:middle;text-transform:none}
#apt .apt-table th .apt-legend-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:0;width:20px;height:22px;padding:2px;margin:0;vertical-align:middle;color:#222;border:0;background:transparent}
#apt .apt-legend-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#apt .apt-legend-popup{display:none;position:absolute;z-index:20;bottom:calc(100% + 8px);right:-4px;width:245px;padding:12px 16px;background:#fff;color:#222;border:1px solid #ddd;box-shadow:0 2px 5px #0003;text-align:left;font-size:13px;font-weight:400;line-height:1.6;white-space:nowrap;cursor:default}
#apt .apt-legend:hover .apt-legend-popup,#apt .apt-legend-toggle:focus-visible+.apt-legend-popup,#apt .apt-legend-toggle[aria-expanded=true]+.apt-legend-popup{display:block}
#apt .apt-legend-row{display:flex;align-items:center;gap:4px;min-height:22px}
#apt .apt-legend-row .apt-stock{flex:0 0 34px;letter-spacing:1px;font-size:8px}
#apt .apt-stock[data-level="1"]{color:#ff2525}#apt .apt-stock[data-level="2"]{color:#ff8700}#apt .apt-stock[data-level="3"]{color:#b4e300}#apt .apt-stock[data-level="4"]{color:#88ff00}#apt .apt-stock[data-level="5"]{color:#00d64e}

@media(min-width:901px){#apt .apt-table th:nth-child(3){width:13%}}
#apt .apt-table th:nth-child(3){white-space:nowrap}

/* Escape dismisses the legend even while the pointer remains above its icon. */
#apt .apt-legend.apt-legend-dismissed .apt-legend-popup{display:none}

#apt .apt-cart-icon{width:18px;height:18px;fill:currentColor;stroke:none}

#apt .apt-mobile-stock-guide{display:none}
@media(max-width:700px){
 #apt .apt-mobile-stock-guide{display:flex;align-items:center;justify-content:flex-end;gap:5px;margin:8px 0;color:#333;font-size:13px}
 #apt .apt-mobile-stock-guide .apt-legend-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:0;width:28px;height:28px;padding:4px;margin:0;color:#222;border:0;background:transparent}
}
@media(max-width:360px){
 #apt .apt-order{display:grid;grid-template-columns:66px minmax(0,1fr);gap:8px}
 #apt .apt-order>span{justify-self:start}
 #apt .apt-order .apt-add{grid-column:1/-1;min-width:0;width:100%;margin-left:0}
}

/* Prioritize the product description and keep purchase controls compact. */
#apt .apt-filters .apt-favorite-filter{width:max-content;max-width:100%;min-height:36px;justify-content:center;align-items:center;gap:8px;margin:12px auto!important;padding:7px 16px;background:#2196f3;font-size:16px!important;line-height:1.3;cursor:pointer}
#apt .apt-favorite-filter svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
#apt .apt-favorite-filter.is-active{background:#0879cf}
#apt .apt-favorite-filter.is-active svg{fill:currentColor}
#apt .apt-favorite-filter:focus-within{outline:3px solid #537ff0;outline-offset:3px}
#apt .apt-purchase{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0}
#apt .apt-pack{width:100%;min-width:0;max-width:none;height:42px;padding-right:24px;font-size:14px}
#apt .apt-order{display:grid;grid-template-columns:52px auto 44px;align-items:center;gap:5px;width:auto;margin:0;justify-content:end}
#apt .apt-count{width:52px;height:42px;font-size:15px}
#apt .apt-order .apt-add{--apt-cart-check:#159b52;display:inline-flex;align-items:center;justify-content:center;grid-column:auto;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:50%;background:#159b52;color:white}
#apt .apt-add .apt-cart-icon{width:26px;height:26px;fill:currentColor;stroke:none;margin:0}
#apt .apt-order .apt-add:hover{--apt-cart-check:#108744;background:#108744}
@media(min-width:701px){
 #apt .apt-table th:first-child{width:26px}
 #apt .apt-table th:nth-child(2),#apt .apt-food-group .apt-table th:nth-child(2){width:auto}
 #apt .apt-table th:nth-child(3),#apt .apt-food-group .apt-table th:nth-child(3){width:104px}
 #apt .apt-table th:nth-child(4),#apt .apt-food-group .apt-table th:nth-child(4){width:300px}
}
@media(min-width:701px) and (max-width:1199px){
 #apt .apt-table th:nth-child(4),#apt .apt-food-group .apt-table th:nth-child(4){width:200px}
 #apt .apt-purchase{grid-template-columns:minmax(0,1fr);gap:7px}
 #apt .apt-order{justify-content:end}
}
@media(min-width:901px) and (max-width:1199px){
 #apt .apt-food-group .apt-table td:nth-child(2){padding-left:66px}
 #apt .apt-food-group .apt-logo{width:46px;height:60px;left:6px}
}
@media(max-width:700px){
 #apt .apt-purchase{grid-template-columns:minmax(0,1fr);gap:8px}
 #apt .apt-order{grid-template-columns:66px auto 44px;gap:8px;width:100%;justify-content:end}
 #apt .apt-count{width:66px;height:44px;font-size:16px}
 #apt .apt-pack{height:44px}
}

/* The theme's floating arrow must not cover purchase controls on the test page. */
@media(max-width:900px){body.page-id-22316 #top-link{display:none!important}}

/* Compact phone cards; desktop and tablet table styles stay outside this query. */
@media(max-width:700px){
 #apt .apt-table tr{padding:12px 10px}
 #apt .apt-table td:first-child{top:14px}
 #apt .apt-table td:nth-child(2){min-height:48px;padding:0 26px 4px 46px}
 #apt .apt-title a,#apt .apt-food-group .apt-title a{font-size:15px;line-height:1.35}
 #apt .apt-table .apt-description,#apt .apt-table .apt-taste-label{display:none!important}
 #apt .apt-logo,#apt .apt-food-group .apt-logo{width:36px;height:36px;left:0;top:2px}
 #apt .apt-quick{font-size:13px;line-height:1.35;min-height:26px;padding:4px 0 2px}
 #apt .apt-tag{font-size:10px;padding:2px 6px;margin:3px 3px 2px 0}
 #apt .apt-table td:nth-child(3){padding:3px 0 7px 46px}
 #apt .apt-table td:nth-child(4){padding:0}
 #apt .apt-purchase{gap:7px}
 #apt .apt-order{grid-template-columns:56px auto 44px;gap:6px;width:auto;justify-content:end}
 #apt .apt-count{width:56px;height:44px;font-size:16px}
}
@media(min-width:360px) and (max-width:700px){
 #apt .apt-purchase{grid-template-columns:minmax(0,1fr) auto}
}

/* Original-style favorite feedback, confined to the independent test table. */
#apt #apt-notice{position:fixed;bottom:20px;right:20px;z-index:999999;display:flex;align-items:center;gap:10px;background:#333;color:#fff;padding:15px 48px 15px 20px;border:1px solid #0002;border-radius:4px;box-shadow:0 2px 5px #0003;min-width:200px;max-width:min(400px,calc(100vw - 24px));font:14px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-wrap:anywhere}
#apt #apt-notice[hidden]{display:none}
#apt #apt-notice.is-error{background:#8f2323}
#apt #apt-notice button{position:absolute;right:2px;top:50%;transform:translateY(-50%);width:44px;height:44px;min-height:44px;padding:0;margin:0;border:0;background:transparent;color:#fff;font:24px/1 sans-serif;box-shadow:none}
.mfp-woosq-apt .wcpt-add-to-favorite-button{display:inline-flex;align-items:center;gap:4px;font-size:14px}
.mfp-woosq-apt .wcpt-add-to-favorite-button svg{width:16px;height:16px;vertical-align:middle;fill:none}
.mfp-woosq-apt .apt-modal-favorite-active svg{fill:currentColor}
.mfp-woosq-apt .wcpt-add-to-favorite-button[aria-busy=true]{opacity:.5;pointer-events:none}
/* The site's pack selector is wide; let quantity and purchase controls wrap in the popup. */
.mfp-woosq-apt form.cart{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.mfp-woosq-apt form.cart .quantity_select{max-width:100%}
.mfp-woosq-apt form.cart .quantity{flex-shrink:0}
.mfp-woosq-apt form.cart .product_meta{width:100%}
@media(max-width:750px){#apt #apt-notice{right:12px;left:12px;bottom:calc(100px + env(safe-area-inset-bottom,0px));width:auto;max-width:none;min-width:0}}
.mfp-woosq-apt form.cart .quantity_select{width:100%;max-width:100%;min-width:0;margin:0}
.mfp-woosq-apt .aromy-inline-controls{display:flex!important;flex-wrap:wrap;gap:8px;width:100%;min-width:0}
.mfp-woosq-apt .aromy-inline-controls select{flex:1 1 180px;width:auto!important;max-width:100%;min-width:0}
.mfp-woosq-apt .aromy-inline-controls .aromy-bottles{flex:0 0 auto;margin:0!important}
.mfp-woosq-apt .aromy-bottles input{width:64px!important;min-height:44px!important;padding:0 10px!important}
.mfp-woosq-apt .mfp-close{color:#444;opacity:1}
.mfp-woosq-apt .aromy-inline-controls{flex-wrap:wrap!important;gap:8px!important}
.mfp-woosq-apt .aromy-inline-controls select{flex:1 1 180px!important;width:auto!important}
.mfp-woosq-apt .aromy-bottles input{width:64px!important;min-width:64px!important}

/* Keep the desktop selection action directly above the existing cart summary. */
#apt #apt-cart-dock{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);z-index:30;display:flex;flex-direction:column;align-items:center;gap:10px;max-width:calc(100vw - 32px)}
#apt #apt-cart-dock #apt-cart-summary{position:static;transform:none;max-width:100%;flex-shrink:0}
#apt #apt-cart-dock .apt-bulk{display:flex;align-items:center;gap:12px;max-width:100%;padding:12px 10px 12px 18px;background:#2196f3;color:#fff;border-radius:8px;box-shadow:0 3px 18px #0003;font-size:14px;line-height:1.4}
#apt #apt-selected{display:block;white-space:nowrap;font-weight:600}
#apt #apt-bulk-status{display:block;font-size:12px}
#apt #apt-cart-dock #apt-bulk{flex-shrink:0;min-height:44px;padding:10px 14px;border:1px solid #fff9;border-radius:5px;background:#fff;color:#1266a5;font-size:14px;font-weight:600}
#apt #apt-clear-selection{flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border:0;border-left:1px solid #fff6;background:transparent;color:#fff;font-size:24px;border-radius:0}
@media(max-width:700px){
 #apt .apt-table td:first-child{display:none}
 #apt .apt-table td:nth-child(2){padding-right:0}
 #apt #apt-cart-dock{bottom:10px}
 #apt #apt-cart-dock .apt-bulk{display:none!important}
}

/* A single compact purchase dock, with the same rounded controls as the table. */
#apt #apt-cart-summary:empty{display:none}
#apt #apt-cart-dock .apt-bulk{gap:14px;padding:10px 10px 10px 18px;background:#fafafa;color:#333;border:1px solid #e2e2e2;border-radius:24px;box-shadow:0 4px 18px #2211221f}
#apt #apt-selected{color:#401449;font-size:14px;font-weight:600}
#apt #apt-bulk-status{color:#666}
#apt #apt-cart-dock #apt-bulk{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:9px 16px;border:0;border-radius:24px;background:#159b52;color:#fff;box-shadow:none}
#apt #apt-cart-dock #apt-bulk:hover{background:#118044}
#apt #apt-bulk .apt-icon{width:22px;height:22px;margin:0;fill:currentColor;stroke:none;--apt-cart-check:#159b52}
#apt #apt-clear-selection{border:0;border-radius:50%;background:#eee;color:#666;font-size:23px}
#apt #apt-clear-selection:hover{background:#e4e4e4;color:#333}
#apt .apt-table tr.apt-is-selected{background:var(--apt-selection-bg,rgba(57,61,139,.1))}
/* Search and result count share a row; pagination uses the remaining space. */
#apt .apt-toolbar{grid-template-columns:minmax(120px,500px) auto auto;gap:12px;padding:12px 16px}
#apt .apt-toolbar .apt-search{grid-column:1;grid-row:1;max-width:500px;width:100%}
#apt .apt-toolbar>[role=status]{grid-column:2;grid-row:1;white-space:nowrap;font-size:13px}
#apt .apt-toolbar>.apt-pages{grid-column:3;grid-row:1;margin:0}
@media(max-width:1199px){
 #apt .apt-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}
 #apt .apt-toolbar>.apt-pages{grid-column:1/-1;grid-row:2;justify-content:flex-end}
}
@media(max-width:700px){
 #apt .apt-toolbar{padding:10px;gap:8px}
 #apt .apt-toolbar>[role=status]{font-size:11px;font-weight:500}
}
@media(max-width:700px){
 #apt .apt-table tr.apt-is-selected{background:#fff}
 #apt .apt-table tr.apt-is-selected:nth-child(odd){background:#fafafa}
}

@media(max-width:700px){
 #apt .apt-toolbar{grid-template-columns:minmax(0,1fr)}
 #apt .apt-toolbar .apt-search{grid-column:1;grid-row:1;max-width:none}
 #apt .apt-toolbar>.apt-pages{grid-column:1;grid-row:2}
 #apt .apt-mobile-stock-guide .apt-result-count{margin-right:auto;font-size:12px;font-weight:500;white-space:nowrap}
}

/* WooCommerce's automatic link must not become another purchase control. */
#apt .apt-purchase a.added_to_cart,#apt .apt-bulk a.added_to_cart{display:none!important}
#apt .apt-row-message{clear:both;width:100%;max-width:100%;grid-column:1/-1;margin-top:6px;font-size:12px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;text-align:left}
#apt .apt-row-message.is-error{color:#a32548}

/* Wrapped tabs become separate rounded buttons at their actual wrapping point. */
#apt .apt-tabs [aria-selected=true]{border-color:var(--apt-tab-color,#393d8b)}
#apt.apt-tabs-wrapped .apt-tabs{gap:6px;margin-bottom:12px;align-items:stretch}
#apt.apt-tabs-wrapped .apt-tabs button{border:1px solid #ddd;border-radius:10px;min-height:44px;padding:9px 12px;font-size:12px;line-height:1.4;box-shadow:0 1px 3px #0000000c}
#apt.apt-tabs-wrapped .apt-tabs [aria-selected=true]{border-color:var(--apt-tab-color,#393d8b);box-shadow:inset 0 -3px var(--apt-tab-color,#393d8b);background:#fff}
#apt.apt-tabs-wrapped .apt-tabs [aria-selected=true]::after{display:none}
#apt .apt-filter-icon{width:20px;height:20px;flex:0 0 20px}
@media(max-width:700px){
 #apt .apt-tabs [aria-selected=true]{border-color:var(--apt-tab-color,#393d8b);box-shadow:inset 0 -3px var(--apt-tab-color,#393d8b)}
 #apt .apt-brand-intro p{display:none}
 #apt .apt-brand-intro{margin-bottom:16px}
 #apt .apt-brand-intro h2{display:flex;justify-content:center;text-align:center;border:0;font-size:20px;line-height:1.4;margin-bottom:12px}
 #apt .apt-brand-intro h2 span{width:auto;max-width:100%;padding:8px 14px;border-radius:12px;text-align:center}
 #apt #apt-filter-toggle{display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:10px 18px;margin:8px 0 14px;border:1px solid #401449;border-radius:24px;background:#401449;color:#fff;font-size:14px;font-weight:600;box-shadow:0 2px 6px #4014491a}
 #apt #apt-filter-toggle::after{content:'';width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-left:6px;margin-top:-4px}
 #apt #apt-filter-toggle[aria-expanded=true]{background:#fff;color:#401449}
 #apt #apt-filter-toggle[aria-expanded=true]::after{transform:rotate(225deg);margin-top:4px}
}

/* The mobile manufacturer heading uses its logo rather than a colored banner. */
#apt .apt-intro-logo{display:none}
@media(max-width:700px){
 #apt .apt-main>.apt-brand-intro .apt-intro-logo{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 auto 10px;min-height:82px}
 #apt .apt-main>.apt-brand-intro .apt-intro-logo:empty{display:none}
 #apt .apt-intro-logo img{width:160px;height:82px;object-fit:contain}
 #apt .apt-intro-logo.is-multi{min-height:52px}
 #apt .apt-intro-logo.is-multi img{width:48px;height:48px}
 #apt .apt-main>.apt-brand-intro h2{color:#222;font-size:17px;font-weight:600;line-height:1.4;margin:0 0 16px}
 #apt .apt-main>.apt-brand-intro h2 span{background:none;color:inherit;padding:0;border-radius:0}
 #apt .apt-filters .apt-brand-logo{display:none}
 #apt .apt-filters{overflow-anchor:none}
 #apt #apt-filter-toggle{border-color:#111;border-radius:10px;background:#111;box-shadow:none}
 #apt #apt-filter-toggle[aria-expanded=true]{background:#111;color:#fff;border-color:#111}
 #apt .apt-pages,#apt .apt-toolbar>.apt-pages{justify-content:center;gap:3px}
 #apt .apt-pages button{width:32px;min-width:32px;height:32px;min-height:32px;padding:3px;border-radius:6px;font-size:12px;box-shadow:none}
 #apt .apt-pages .apt-page-arrow{width:20px;min-width:20px;height:32px;font-size:15px}
 #apt .apt-pages [aria-current=page]{background:var(--apt-page-color,#393d8b);border-color:var(--apt-page-color,#393d8b);color:#fff}
}

/* Match the enclosing table frame to the selected manufacturer's tab. */
#apt .apt-layout{border-color:var(--apt-page-color,#393d8b)}
#apt .apt-mobile-tags:empty{display:none}
/* One purchase control: quantity and unit on the left, dark cart action on the right. */
#apt .apt-order{grid-template-columns:48px 22px 44px;gap:0;width:116px;height:44px;border:1px solid #ddd;border-radius:10px;background:#fff;overflow:hidden;justify-content:initial;justify-self:end}
#apt .apt-order .apt-count{width:48px;height:42px;min-height:42px;margin:0;padding:0 3px;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:15px}
#apt .apt-order>span{justify-self:stretch;margin:0;padding:0 5px 0 0;text-align:left;font-size:12px;line-height:42px}
#apt .apt-order .apt-add{--apt-cart-check:#111;width:44px;min-width:44px;height:42px;min-height:42px;border-radius:0;background:#111;color:#fff;border-left:1px solid #ddd;align-self:stretch}
#apt .apt-order .apt-add:hover{--apt-cart-check:#292929;background:#292929}
#apt .apt-order .apt-cart-icon{width:24px;height:24px}
#apt .apt-order:focus-within{outline:3px solid #537ff0;outline-offset:3px}
@media(max-width:700px){
 #apt .apt-quick-row{display:flex;align-items:center;flex-wrap:wrap;gap:2px 8px;margin-top:2px}
 #apt .apt-quick-row .apt-quick{flex:0 0 auto;padding:3px 0;min-height:26px}
 #apt .apt-mobile-tags{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px;min-width:0}
 #apt .apt-mobile-tags .apt-tag{margin:0;font-size:10px;line-height:1.25;padding:2px 6px}
 #apt .apt-order .apt-count{font-size:16px}
}

/* Rounded quantity/cart control with buttons instead of a text caret. */
#apt .apt-order{grid-template-columns:82px 30px 44px;width:158px;border-radius:24px}
#apt .apt-order>span{padding:0 12px 0 2px;text-align:left}
#apt .apt-quantity{display:grid;grid-template-columns:26px 30px 26px;align-items:center;height:42px;min-width:0}
#apt .apt-count-value{display:block;min-width:0;margin:0;padding:0;background:none;border:0;text-align:center;font-size:14px;font-weight:600;line-height:42px;color:#111;white-space:nowrap}
#apt .apt-qty-step{width:26px;min-width:26px;height:42px;min-height:42px;margin:0;padding:0;border:0;background:transparent;color:#444;font-size:18px;line-height:1;box-shadow:none;touch-action:manipulation}
#apt .apt-qty-step:hover:not(:disabled){background:#f1f1f1}
#apt .apt-order:focus-within{outline:none}
#apt .apt-qty-step:focus{outline:none}
#apt .apt-qty-step:focus-visible{outline:2px solid #666;outline-offset:-4px;border-radius:8px;background:#eee}
#apt .apt-order .apt-add:focus-visible{outline:2px solid #fff;outline-offset:-5px}

/* Shared stock markers remain crisp at the size of the adjacent label. */
:is(#apt,.apt-modal-ui) .apt-stock{display:inline-flex;align-items:center;gap:3px;vertical-align:middle;line-height:1;letter-spacing:0;white-space:nowrap}
:is(#apt,.apt-modal-ui) .apt-stock i{display:block;flex:0 0 9px;width:9px;height:9px;background:currentColor}
:is(#apt,.apt-modal-ui) .apt-stock[data-level="1"]{color:#ff2525}
:is(#apt,.apt-modal-ui) .apt-stock[data-level="2"]{color:#ff8700}
:is(#apt,.apt-modal-ui) .apt-stock[data-level="3"]{color:#b4e300}
:is(#apt,.apt-modal-ui) .apt-stock[data-level="4"]{color:#88ff00}
:is(#apt,.apt-modal-ui) .apt-stock[data-level="5"]{color:#00d64e}
:is(#apt,.apt-modal-ui) .apt-legend-row .apt-stock{flex:0 0 37px;gap:2px}
:is(#apt,.apt-modal-ui) .apt-legend-row .apt-stock i{width:5px;height:5px;flex-basis:5px}
:is(#apt,.apt-modal-ui) .apt-pack:focus{outline:none;box-shadow:none;border-color:#ddd}
:is(#apt,.apt-modal-ui) .apt-pack:focus-visible{outline:2px solid #777;outline-offset:2px;border-color:#ddd}
#apt .apt-mobile-actions{display:none}
@media(max-width:900px){
 #apt .apt-mobile-actions{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;gap:8px;margin:8px 0 14px}
 #apt .apt-mobile-actions #apt-filter-toggle,#apt .apt-mobile-actions .apt-favorite-filter{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-width:0;min-height:46px;margin:0!important;padding:10px 8px;border:1px solid #111;border-radius:10px;background:#111;color:#fff;font-size:13px!important;font-weight:600;line-height:1.3;cursor:pointer}
 #apt .apt-mobile-actions .apt-favorite-filter{background:#c00072;border-color:#c00072}
 #apt .apt-mobile-actions .apt-favorite-filter.is-active{background:#960059;border-color:#960059}
 #apt .apt-mobile-actions .apt-favorite-filter svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;flex-shrink:0}
 #apt .apt-mobile-actions .apt-favorite-filter.is-active svg{fill:currentColor}
 #apt .apt-mobile-actions .apt-favorite-filter:focus-within{outline:2px solid #777;outline-offset:2px}
 #apt .apt-mobile-actions #apt-filter-toggle::after{margin-left:1px}
}
/* Only popups opened from the independent table receive these controls. */
.mfp-woosq-apt .apt-modal-title{display:flex;align-items:baseline;gap:.35em;line-height:1.3}
.mfp-woosq-apt .apt-modal-heart{display:inline-flex;align-items:center;justify-content:center;flex:0 0 1em;width:1em;height:1em;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:none;color:#c00072;font:inherit;box-shadow:none;cursor:pointer;align-self:baseline;transform:translateY(.08em)}
.mfp-woosq-apt .apt-modal-heart svg{display:block;width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.mfp-woosq-apt .apt-modal-heart[aria-pressed=true] svg{fill:currentColor}
.apt-modal-ui{font:16px/1.5 Montserrat,Arial,sans-serif;color:#222;margin:20px 0 24px;clear:both}
.apt-modal-ui *,.apt-modal-ui *::before,.apt-modal-ui *::after{box-sizing:border-box}
.apt-modal-ui [hidden]{display:none!important}
.apt-modal-ui button,.apt-modal-ui select{font:inherit;text-transform:none;letter-spacing:normal;box-shadow:none}
.apt-modal-ui button{cursor:pointer}
.apt-modal-ui button:disabled{opacity:.4;cursor:default}
.apt-modal-ui .apt-modal-stock{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 20px;font-size:16px}
.apt-modal-ui .apt-modal-stock>.apt-stock i{width:11px;height:11px;flex-basis:11px}
.apt-modal-ui .apt-legend{position:relative;display:inline-flex;vertical-align:middle}
.apt-modal-ui .apt-legend-toggle{display:inline-flex;align-items:center;justify-content:center;width:22px;height:24px;min-height:0;margin:0;padding:0;border:0;background:none;color:#222}
.apt-modal-ui .apt-legend-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.apt-modal-ui .apt-legend-popup{display:none;position:absolute;z-index:30;bottom:calc(100% + 8px);left:0;width:245px;padding:12px 16px;background:#fff;color:#222;border:1px solid #ddd;box-shadow:0 2px 5px #0003;text-align:left;font-size:13px;font-weight:400;line-height:1.6;white-space:nowrap}
.apt-modal-ui .apt-legend:hover .apt-legend-popup,.apt-modal-ui .apt-legend-toggle:focus-visible+.apt-legend-popup,.apt-modal-ui .apt-legend-toggle[aria-expanded=true]+.apt-legend-popup{display:block}
.apt-modal-ui .apt-legend.apt-legend-dismissed .apt-legend-popup{display:none}
.apt-modal-ui .apt-legend-row{display:flex;align-items:center;gap:4px;min-height:22px}
.apt-modal-ui .apt-purchase{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.apt-modal-ui .apt-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.apt-modal-ui .apt-pack{flex:1 1 170px;width:auto;max-width:100%;min-width:0;height:52px;margin:0;padding:0 34px 0 16px;border:2px solid #e8e8e8;border-radius:28px;background-color:#fff;color:#111;font-size:16px;font-weight:600;line-height:1.3}
.apt-modal-ui .apt-order{display:grid;grid-template-columns:90px 32px 52px;gap:0;flex:0 0 176px;width:176px;height:52px;margin:0;border:1px solid #ddd;border-radius:28px;background:#fff;overflow:hidden}
.apt-modal-ui .apt-quantity{display:grid;grid-template-columns:28px 34px 28px;align-items:center;height:50px;min-width:0}
.apt-modal-ui .apt-count-value{display:block;min-width:0;margin:0;padding:0;background:none;border:0;text-align:center;font-size:16px;font-weight:600;line-height:50px;color:#111;white-space:nowrap}
.apt-modal-ui .apt-qty-step{width:28px;min-width:28px;height:50px;min-height:50px;margin:0;padding:0;border:0;background:none;color:#444;font-size:20px;line-height:1;touch-action:manipulation}
.apt-modal-ui .apt-qty-step:hover:not(:disabled){background:#f1f1f1}
.apt-modal-ui .apt-order>span{margin:0;padding:0 12px 0 2px;text-align:left;font-size:14px;line-height:50px}
.apt-modal-ui .apt-add{--apt-cart-check:#111;display:flex;align-items:center;justify-content:center;width:52px;min-width:52px;height:50px;min-height:50px;margin:0;padding:0;border:0;border-left:1px solid #ddd;border-radius:0;background:#111;color:#fff}
.apt-modal-ui .apt-add:hover{--apt-cart-check:#292929;background:#292929}
.apt-modal-ui .apt-cart-icon{display:block;width:28px;height:28px;fill:currentColor;stroke:none}
.apt-modal-ui .apt-order:focus-within,.apt-modal-ui .apt-qty-step:focus{outline:none}
.apt-modal-ui .apt-qty-step:focus-visible{outline:2px solid #666;outline-offset:-4px;border-radius:8px}
.apt-modal-ui .apt-add:focus-visible{outline:2px solid #fff;outline-offset:-5px}
.apt-modal-ui .apt-row-message{display:block;font-size:13px;color:#555;margin-top:8px}
.apt-modal-ui .apt-row-message:empty,.apt-modal-ui a.added_to_cart{display:none!important}
.apt-modal-ui .apt-row-message.is-error{color:#a21919}
/* Open inside the summary so its scrolling boundary cannot clip the legend. */
.apt-modal-ui .apt-legend-popup{top:calc(100% + 8px);bottom:auto}

/* Suggestions float below the stable input; typing never replaces table rows. */
#apt .apt-search{z-index:5}
#apt .apt-suggest-panel{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:40;min-width:0;max-height:min(420px,60vh);overflow:auto;overscroll-behavior:contain;border:1px solid #ddd;border-radius:10px;background:#fff;box-shadow:0 6px 20px #0002;text-align:left}
#apt .apt-suggestion{display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:52px;margin:0;padding:10px 12px;border:0;border-bottom:1px solid #eee;border-radius:0;background:#fff;color:#393d8b;font-size:13px;font-weight:600;line-height:1.4;text-align:left;white-space:normal}
#apt .apt-suggestion:hover,#apt .apt-suggestion[aria-selected=true]{background:#f4f2f7;color:#401449}
#apt .apt-suggestion>span{min-width:0;overflow-wrap:anywhere}
#apt .apt-suggestion-image{position:static;flex:0 0 32px;width:32px;height:32px;object-fit:contain;transform:none;border-radius:5px}
#apt .apt-suggest-status{padding:9px 12px;font-size:11px;font-weight:400;line-height:1.5;color:#666}
#apt .apt-suggest-status:empty{display:none}
@media(max-width:700px){#apt .apt-suggest-panel{max-height:min(340px,55vh)}#apt .apt-suggestion{min-height:52px;font-size:13px}}

/* Desktop favorites use the same shape and heart color as the mobile action. */
@media(min-width:701px){
 #apt .apt-filters .apt-favorite-filter{width:max-content;min-width:160px;max-width:100%;min-height:42px;gap:8px;margin:12px auto!important;padding:10px 16px;border:1px solid #c00072;border-radius:10px;background:#c00072;color:#fff;font-size:14px!important;font-weight:600!important;line-height:1.3;box-shadow:none}
 #apt .apt-filters .apt-favorite-filter:hover{background:#b00069;border-color:#b00069}
 #apt .apt-filters .apt-favorite-filter.is-active{background:#960059;border-color:#960059}
 #apt .apt-filters .apt-favorite-filter svg{display:block;width:18px;height:18px;stroke-width:1.5}
 #apt .apt-filters .apt-favorite-filter:focus-within{outline:2px solid #777;outline-offset:2px}
}

/* The same favorites shortcut opens the cross-manufacturer tab on every screen. */
#apt .apt-favorite-filter{display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}
#apt .apt-row-legend{display:inline-flex;margin-left:5px;vertical-align:middle}
#apt .apt-row-legend .apt-legend-toggle{display:inline-flex;align-items:center;justify-content:center;width:20px;height:24px;min-height:0;margin:0;padding:0;border:0;background:none;color:#333}
#apt .apt-row-legend .apt-legend-popup{right:0;bottom:calc(100% + 5px)}
#apt .apt-legend-hint .apt-legend-popup{white-space:normal;line-height:1.5}
@media(max-width:900px){#apt .apt-mobile-actions:not(.apt-with-favorites){grid-template-columns:1fr}}
@media(max-width:700px){
 #apt #apt-results[aria-labelledby="apt-tab-favorites"] .apt-table td:nth-child(3){position:relative}
 #apt .apt-row-legend .apt-legend{position:static}
 #apt .apt-row-legend .apt-legend-popup{left:0;right:auto;max-width:100%;bottom:calc(100% + 5px)}
}

/* Fit a readable tab row before switching the whole group to rounded buttons. */
#apt .apt-tabs{column-gap:var(--apt-tab-gap,6px)}
#apt .apt-tabs button,#apt.apt-tabs-wrapped .apt-tabs button{flex:0 0 auto;font-size:var(--apt-tab-font,12px);padding-left:var(--apt-tab-padding,12px);padding-right:var(--apt-tab-padding,12px);line-height:1.4}
#apt .apt-tabs button{min-height:44px}
/* Keep text clear of the native select arrow, and wrap the order group when needed. */
:is(#apt,.apt-modal-ui) .apt-pack{padding-right:34px}
#apt .apt-purchase.apt-purchase-stacked{grid-template-columns:minmax(0,1fr)}
#apt .apt-purchase.apt-purchase-stacked .apt-order{justify-self:end}
.apt-modal-ui .apt-pack{flex-basis:var(--apt-pack-width,170px);min-width:min(100%,var(--apt-pack-width,170px))}
@media(min-width:1200px){#apt .apt-table th:nth-child(4),#apt .apt-food-group .apt-table th:nth-child(4){width:330px}}
#apt .apt-row-legend{margin:0 5px 0 0}
#apt .apt-tabs button{transition:background-color .15s,border-color .15s,box-shadow .15s,color .15s}

/* Use the same filter access breakpoint as the collapsible tablet sidebar. */
#apt .apt-logo{display:block}
@media(max-width:900px){
 #apt .apt-mobile-actions #apt-filter-toggle::after{content:'';width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-left:3px;margin-top:-4px}
 #apt .apt-mobile-actions #apt-filter-toggle[aria-expanded=true]::after{transform:rotate(225deg);margin-top:4px}
}
/* One pagination shape, scaled to the available screen size. */
#apt{--apt-page-size:44px;--apt-page-font:15px;--apt-page-gap:6px;--apt-page-arrow:28px}
#apt .apt-pages,#apt .apt-toolbar>.apt-pages{justify-content:center;gap:var(--apt-page-gap)}
#apt .apt-pages button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:var(--apt-page-size);min-width:var(--apt-page-size);height:var(--apt-page-size);min-height:var(--apt-page-size);padding:3px;border:1px solid #ddd;border-radius:6px;background:#fff;font-size:var(--apt-page-font);line-height:1;box-shadow:none}
#apt .apt-pages .apt-page-arrow{width:var(--apt-page-arrow);min-width:var(--apt-page-arrow);height:var(--apt-page-size);min-height:var(--apt-page-size);border:0;background:transparent;font-size:calc(var(--apt-page-font) + 3px);box-shadow:none}
#apt .apt-pages [aria-current=page]{background:var(--apt-page-color,#393d8b);border-color:var(--apt-page-color,#393d8b);color:#fff}
#apt .apt-pages button:not([aria-current]):not(:disabled):hover{background:#f3f3f3}
@media(max-width:1199px){#apt{--apt-page-size:38px;--apt-page-font:14px;--apt-page-gap:5px;--apt-page-arrow:24px}}
@media(max-width:900px){#apt{--apt-page-size:36px;--apt-page-font:13px;--apt-page-gap:4px;--apt-page-arrow:23px}}
@media(max-width:700px){#apt{--apt-page-size:32px;--apt-page-font:12px;--apt-page-gap:3px;--apt-page-arrow:20px}}

/* Carry each category's color through its navigation, title and price slider. */
#apt .apt-tabs button{color:var(--apt-tab-color,#393d8b)}
#apt .apt-dual-range::before{background:var(--apt-page-color,#393d8b)}
#apt .apt-range::-webkit-slider-thumb{background:var(--apt-page-color,#393d8b)}
#apt .apt-range::-moz-range-thumb{background:var(--apt-page-color,#393d8b)}
#apt .apt-brand-intro h2,#apt .apt-main>.apt-brand-intro h2{color:var(--brand,var(--apt-page-color,#393d8b));border-bottom:2px solid var(--brand,var(--apt-page-color,#393d8b));padding-bottom:8px}
#apt .apt-brand-intro h2 span,#apt .apt-main>.apt-brand-intro h2 span{background:transparent;color:inherit;border-radius:0;padding:0}
#apt .apt-quick{color:#111}
#apt .apt-filters .apt-taste label{display:flex;align-items:center;gap:8px;min-height:26px;margin:2px 0;padding:2px 0;font-size:13px;line-height:1.3}
#apt .apt-taste input[type=checkbox]{align-self:center;vertical-align:middle;margin:0;transform:none;flex:0 0 auto}
@media(max-width:900px){#apt .apt-filters .apt-taste label{min-height:32px;margin:1px 0}}
/* Stock hints are present in every product row, with the icon before the blocks. */
#apt .apt-row-legend .apt-legend-toggle,.apt-modal-ui .apt-legend-toggle{opacity:.5}
#apt .apt-row-legend .apt-legend-toggle:hover,#apt .apt-row-legend .apt-legend-toggle:focus-visible,.apt-modal-ui .apt-legend-toggle:hover{opacity:1}
#apt .apt-legend.apt-legend-below .apt-legend-popup{top:calc(100% + 8px);bottom:auto}
@media(min-width:701px){
 #apt .apt-table th{position:sticky;top:var(--apt-sticky-top,80px);z-index:15;background:#fafafa;box-shadow:inset 0 -2px #ccc}
 #apt .apt-table thead .apt-legend-popup{top:calc(100% + 8px);bottom:auto}
}
/* A compact white cart card with the same dark action color as the table. */
#apt #apt-cart-dock #apt-cart-summary{padding:0;min-width:240px;border:1px solid #e4e4e4;border-radius:12px;background:#fff;box-shadow:0 5px 22px #0002;color:#222;white-space:normal}
#apt #apt-cart-dock #apt-cart-summary .apt-cart-link{display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:12px;padding:11px 14px;color:#222;text-decoration:none;line-height:1.25}
#apt #apt-cart-dock #apt-cart-summary .apt-dock-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:10px;background:#111;color:#fff;--apt-cart-check:#111}
#apt #apt-cart-dock #apt-cart-summary .apt-cart-icon{width:26px;height:26px}
#apt #apt-cart-dock #apt-cart-summary .apt-dock-details{display:flex;flex-direction:column;gap:3px;min-width:0}
#apt #apt-cart-dock #apt-cart-summary strong{color:#555;font-size:12px;font-weight:500}
#apt #apt-cart-dock #apt-cart-summary .apt-dock-total,#apt #apt-cart-dock #apt-cart-summary .amount,#apt #apt-cart-dock #apt-cart-summary bdi,#apt #apt-cart-dock #apt-cart-summary .woocommerce-Price-currencySymbol{color:#222;font-size:16px;font-weight:600}
#apt #apt-cart-dock #apt-cart-summary small{color:#777;font-size:10px;font-weight:400}
#apt #apt-cart-dock #apt-cart-summary .apt-dock-arrow{width:18px;height:18px;color:#555}
#apt #apt-notice{bottom:calc(12px + env(safe-area-inset-bottom,0px));right:12px;border-radius:8px}
@media(max-width:750px){#apt #apt-notice{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px))}}

/* Only the current category uses its brand color in the tab label. */
#apt .apt-tabs button{color:#111}
#apt .apt-tabs button[aria-selected=true]{color:var(--apt-tab-color,#393d8b)}
/* Sidebar and table headings share one sticky offset. */
@media(min-width:901px){#apt .apt-filters{top:var(--apt-shared-sticky-top,110px);max-height:calc(100vh - var(--apt-shared-sticky-top,110px) - 20px)}}
@media(min-width:701px){
 #apt .apt-table th{top:var(--apt-shared-sticky-top,110px);border:0;box-shadow:none;background:var(--apt-header-color,var(--apt-page-color,#393d8b));color:#fff}
 #apt .apt-table th button,#apt .apt-table th .apt-legend-toggle{color:#fff}
 #apt .apt-table th .apt-sort-icon path{fill:#fff;opacity:.6}
 #apt .apt-table th[aria-sort=ascending] .apt-sort-up,#apt .apt-table th[aria-sort=descending] .apt-sort-down{fill:#fff;opacity:1}
 #apt .apt-table.apt-head-stuck th::before{content:'';position:absolute;left:0;right:0;bottom:100%;height:calc(var(--apt-shared-sticky-top,110px) - var(--apt-sticky-top,60px));background:#fff;pointer-events:none}
 /* Compact fields keep their measured width instead of filling a whole line. */
 #apt .apt-purchase{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}
 #apt .apt-purchase>.apt-pack{flex:0 1 var(--apt-pack-width,150px);width:var(--apt-pack-width,150px);min-width:0;max-width:100%}
 #apt .apt-purchase>.apt-order{flex:0 0 158px}
}
@media(min-width:1200px){#apt .apt-table th:nth-child(4),#apt .apt-food-group .apt-table th:nth-child(4){width:350px}}
#apt .apt-unavailable{display:block;padding:8px 0;text-align:center;font-size:13px;font-weight:500;color:#666}
@media(max-width:700px){#apt .apt-table tr.apt-is-unavailable td:nth-child(3){display:none}}
#apt .apt-filters details:not(.apt-taste) label{display:flex;align-items:center;gap:8px}
#apt .apt-filters details label input[type=checkbox]{align-self:center;vertical-align:middle;margin:0;transform:none;flex:0 0 auto}

/* The colored range follows the two thumb centers; unselected track stays gray. */
#apt .apt-dual-range::before{left:9px;right:9px;background:linear-gradient(to right,#dedede 0%,#dedede var(--apt-range-start,0%),var(--apt-page-color,#393d8b) var(--apt-range-start,0%),var(--apt-page-color,#393d8b) var(--apt-range-end,100%),#dedede var(--apt-range-end,100%),#dedede 100%)}
#apt .apt-range:focus-visible{outline-color:var(--apt-page-color,#393d8b)}
#apt .apt-sort input[type=radio]{accent-color:var(--apt-page-color,#393d8b)}
/* Keep a heart with its name; center desktop badges alongside that group. */
#apt .apt-title{display:flex;align-items:center;flex-wrap:wrap;gap:5px 6px;line-height:1.25}
#apt .apt-title-line{display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:100%}
#apt .apt-title-line .apt-heart{flex:0 0 18px;align-self:center;margin:0;transform:none;vertical-align:initial}
#apt .apt-title-line>a{min-width:0;line-height:1.25}
#apt .apt-title>.apt-tag{display:inline-flex;align-items:center;align-self:center;margin:0;line-height:1.2}
/* Identical flex rows remove baseline differences between all header labels. */
@media(min-width:701px){
 #apt .apt-table{border-collapse:separate;border-spacing:0}
 #apt .apt-table th{height:44px;vertical-align:middle;padding:0 8px;overflow:visible}
 #apt .apt-table .apt-head-label{display:flex;align-items:center;gap:4px;min-height:44px;line-height:1.3}
 #apt .apt-table .apt-head-label>button{display:inline-flex;align-items:center;gap:4px;min-height:44px;margin:0;line-height:1.3}
 #apt .apt-table th:nth-child(3),#apt .apt-food-group .apt-table th:nth-child(3){width:120px}
 #apt .apt-table th .apt-legend{display:inline-flex;align-items:center;flex:0 0 20px}
 #apt .apt-table th .apt-legend-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px;width:20px;height:24px;padding:2px;margin:0;overflow:visible;line-height:1}
 #apt .apt-table th .apt-legend-toggle svg{display:block;flex:0 0 16px;width:16px;height:16px;overflow:visible}
 #apt .apt-table th .apt-sort-icon{display:block;vertical-align:initial;margin:0;flex:0 0 9px}
 #apt .apt-table th:first-child{border-radius:6px 0 0 6px}
 #apt .apt-table th:last-child{border-radius:0 6px 6px 0}
}

/* Suggestions must be above the sticky table headings, including on archive pages. */
#apt .apt-search{z-index:25}

/* Keep navigation on one row on narrow phones, retaining page endpoints and step controls. */
#apt .apt-pages.apt-pages-compact{display:none}
@media(max-width:480px){
 #apt .apt-pages.apt-pages-wide{display:none}
 #apt .apt-pages.apt-pages-compact{display:flex;flex-wrap:nowrap}
 #apt .apt-pages.apt-pages-compact .apt-page-arrow{width:28px;min-width:28px}
}

/* Retain nearby page choices on phones without wrapping navigation. */
@media(max-width:480px){
 #apt .apt-pages.apt-pages-compact{gap:2px}
 #apt .apt-pages.apt-pages-compact .apt-page-arrow{width:24px;min-width:24px}
 #apt .apt-pages.apt-pages-compact>span{display:inline-flex;align-items:center;justify-content:center;flex:0 0 12px;width:12px;font-size:12px}
}
@media(max-width:360px){
 #apt .apt-pages.apt-pages-compact{gap:1px}
 #apt .apt-pages.apt-pages-compact button:not(.apt-page-arrow){width:26px;min-width:26px;padding:0;font-size:12px}
}
/* Keep the dock above later builder sections on the published home page. */
.section-content.apt-table-host{z-index:3}
#apt #apt-cart-dock #apt-cart-summary{width:320px;min-width:0;max-width:100%;background:#111;border-color:#111;color:#fff;opacity:1;box-shadow:0 6px 24px #0003}
#apt #apt-cart-dock #apt-cart-summary .apt-cart-link{background:#111;color:#fff;border-radius:11px;grid-template-columns:44px minmax(0,1fr) 20px}
#apt #apt-cart-dock #apt-cart-summary .apt-dock-icon{width:44px;height:44px;background:transparent;color:#38ef7d;--apt-cart-check:#111}
#apt #apt-cart-dock #apt-cart-summary .apt-cart-icon{width:29px;height:29px}
#apt #apt-cart-dock #apt-cart-summary strong,#apt #apt-cart-dock #apt-cart-summary small,#apt #apt-cart-dock #apt-cart-summary .apt-dock-total,#apt #apt-cart-dock #apt-cart-summary .amount,#apt #apt-cart-dock #apt-cart-summary bdi,#apt #apt-cart-dock #apt-cart-summary .woocommerce-Price-currencySymbol,#apt #apt-cart-dock #apt-cart-summary .apt-dock-arrow{color:#fff}
#apt #apt-cart-dock #apt-cart-summary .apt-dock-total,#apt #apt-cart-dock #apt-cart-summary .amount,#apt #apt-cart-dock #apt-cart-summary bdi,#apt #apt-cart-dock #apt-cart-summary .woocommerce-Price-currencySymbol{font-size:18px}
#apt #apt-cart-dock #apt-cart-summary .apt-dock-arrow{width:20px;height:20px}
@media(min-width:901px){
 #apt #apt-cart-dock #apt-cart-summary{width:420px}
 #apt #apt-cart-dock #apt-cart-summary .apt-cart-link{grid-template-columns:48px minmax(0,1fr) 22px;gap:16px;padding:14px 18px}
 #apt #apt-cart-dock #apt-cart-summary .apt-dock-icon{width:48px;height:48px}
 #apt #apt-cart-dock #apt-cart-summary strong{font-size:14px}
 #apt #apt-cart-dock #apt-cart-summary .apt-dock-total,#apt #apt-cart-dock #apt-cart-summary .amount,#apt #apt-cart-dock #apt-cart-summary bdi,#apt #apt-cart-dock #apt-cart-summary .woocommerce-Price-currencySymbol{font-size:20px}
 #apt #apt-cart-dock #apt-cart-summary small{font-size:11px}
}
@media(min-width:1200px){#apt #apt-cart-dock #apt-cart-summary{width:460px}}
