:root{--ink:#203b2e;--green:#234c38;--green-deep:#173e2b;--green-pale:#eaf0e7;--orange:#eb8a38;--orange-pale:#fff0df;--paper:#fbfaf6;--white:#fff;--line:#e4e6dc;--muted:#6d766b;--danger:#a6362e;--shadow:0 12px 35px #2438280b;--radius:18px;font-family:"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:16px;line-height:1.55;background:var(--paper)}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #e8a455;outline-offset:3px}input,select,textarea{width:100%;border:1px solid #d6ddcf;border-radius:10px;padding:11px 13px;color:var(--ink);background:#fff;min-height:46px}input[type=checkbox]{width:19px;height:19px;min-height:19px;accent-color:var(--green)}input[type=number]{font-variant-numeric:tabular-nums}select{appearance:none;padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23234c38' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}textarea{resize:vertical;min-height:95px}h1,h2,h3,p{margin:0}h1,h2,.serif{font-family:Georgia,"Times New Roman",serif;font-weight:400;line-height:1.15;letter-spacing:-.03em}h1{font-size:clamp(2rem,4vw,3rem)}h2{font-size:1.8rem}h3{font-size:1rem;font-weight:650}small,.small{font-size:.875rem}.muted{color:var(--muted)}.nowrap{white-space:nowrap}.right{text-align:right}.mono{font-variant-numeric:tabular-nums}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:20px;top:-100px;background:#fff;padding:12px;z-index:100}.skip-link:focus{top:12px}.icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;border:1px solid transparent;border-radius:10px;font-weight:600;font-size:.925rem;text-decoration:none;background:var(--green);color:white;line-height:1.35}.btn:hover{background:var(--green-deep)}.btn.secondary{background:#fff;color:var(--green);border-color:#d6ddcf}.btn.secondary:hover{background:var(--green-pale)}.btn.orange{background:var(--orange);color:#322a1b}.btn.orange:hover{background:#e37b26}.btn.ghost{color:var(--green);background:transparent;padding:9px 12px}.btn.ghost:hover{background:var(--green-pale)}.btn.danger{background:#fff0ee;color:var(--danger);border-color:#edcfc9}.btn.sm{padding:7px 12px;min-height:36px;font-size:.875rem}.btn.full{width:100%}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--green)}.icon-btn:hover{background:var(--green-pale)}.inline-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.topbar{height:88px;padding:0 4%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--paper);gap:20px}.brand{border:0;background:none;display:flex;align-items:center;gap:11px;text-align:left;color:var(--green);padding:0;text-decoration:none;flex-shrink:0}.brand-mark{height:45px;width:45px}.brand-name{font-family:Georgia,serif;font-size:1.55rem;font-weight:700;letter-spacing:-.055em;line-height:1}.brand-sub{display:block;font-size:.67rem;font-weight:500;letter-spacing:.15em;text-transform:uppercase;margin-top:8px;color:var(--muted)}.topbar-center{font-size:.9rem;color:var(--muted)}.topbar-right{display:flex;gap:10px;align-items:center}.avatar{height:36px;width:36px;border-radius:50%;background:#e6eadf;color:var(--green);display:grid;place-items:center;font-size:.82rem;font-weight:700}.user-label{font-size:.875rem;line-height:1.4}.user-label small{display:block;color:var(--muted);font-size:.75rem}.desktop-only{display:block}.mobile-toggle{display:none}.layout{max-width:1600px;margin:auto}.customer-main{max-width:1360px;margin:auto;padding:32px 38px 55px}.hero{background:var(--green);border-radius:22px;min-height:244px;overflow:hidden;color:#fff;position:relative;display:flex;align-items:center;padding:35px 42px;margin-bottom:32px}.hero-copy{position:relative;z-index:1;max-width:65%}.eyebrow{display:flex;align-items:center;gap:8px;font-size:.72rem;text-transform:uppercase;letter-spacing:.16em;font-weight:600;margin-bottom:14px}.hero .eyebrow{color:#d8e6bf}.hero h1{font-size:clamp(2.15rem,4vw,3.55rem);max-width:600px;line-height:1.05}.hero h1 em{color:#f4b670;font-style:italic}.hero p{margin-top:15px;max-width:490px;color:#e2eadc;font-size:.95rem}.hero-art{position:absolute;width:380px;height:310px;right:-8px;bottom:-38px;transform:rotate(-5deg);opacity:.98}.hero-foot{display:flex;gap:20px;margin-top:21px;color:#e5efdd;font-size:.78rem}.hero-foot span{display:flex;gap:6px;align-items:center}.hero-foot .icon{width:16px;height:16px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.section-heading h2{font-size:2rem}.section-heading p{font-size:.9rem;color:var(--muted);margin-top:5px}.group-tag{display:inline-flex;gap:6px;align-items:center;background:var(--green-pale);color:var(--green);border-radius:50px;padding:7px 12px;font-size:.8rem;font-weight:600}.catalog-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:28px;align-items:start}.catalog-tools{display:flex;gap:12px;margin-bottom:17px;align-items:center}.search-field{position:relative;flex:1}.search-field .icon{position:absolute;left:14px;top:14px;color:#8a9286}.search-field input{padding-left:43px;background:#fff}.catalog-sort{font-size:.85rem;color:var(--muted);white-space:nowrap}.category-tabs{display:flex;gap:8px;overflow:auto;padding:1px 1px 12px;scrollbar-width:thin;margin-bottom:8px}.category-tab{border:1px solid var(--line);background:#fff;border-radius:40px;padding:8px 14px;font-size:.82rem;white-space:nowrap;color:var(--muted);min-height:38px}.category-tab.active{background:var(--green);color:#fff;border-color:var(--green)}.products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.product-card{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden;transition:border-color .15s,transform .15s}.product-card:hover{border-color:#b8c5ad;transform:translateY(-2px)}.product-card.selected{border-color:#809c67}.product-art{height:136px;position:relative;display:grid;place-items:center;overflow:hidden;background:#f2f1e7}.product-art svg{width:150px;height:130px;filter:drop-shadow(0 9px 7px #3e412018);transform:rotate(-7deg);transition:transform .2s}.product-card:hover .product-art svg{transform:rotate(-3deg) scale(1.05)}.product-art.citrus{background:#faf0de}.product-art.fruit{background:#edf0e3}.product-art.oil{background:#edeee0}.product-art.pantry{background:#f4ecdf}.product-art.wine{background:#efe8e8}.product-art.nuts{background:#eeeadd}.unit-badge{position:absolute;top:10px;left:10px;background:#ffffffd9;border-radius:5px;padding:3px 7px;font-size:.66rem;font-weight:600;color:#626a59;letter-spacing:.025em}.product-body{padding:15px}.product-name{font-size:.925rem;font-weight:650;min-height:43px;line-height:1.4;margin-bottom:3px}.product-unit{font-size:.78rem;color:var(--muted);margin-bottom:13px}.product-buy{display:flex;align-items:center;justify-content:space-between;gap:6px}.product-price{font-size:1.15rem;font-weight:700;letter-spacing:-.035em;font-variant-numeric:tabular-nums}.product-price small{font-weight:400;font-size:.65rem;letter-spacing:0;color:var(--muted);margin-left:3px}.qty-control{display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;height:34px;background:#fff;overflow:hidden}.qty-control button{border:0;background:transparent;color:var(--green);font-size:1.2rem;width:29px;height:32px;line-height:1}.qty-control button:hover{background:var(--green-pale)}.qty-control input{border:0;border-radius:0;text-align:center;padding:0;width:29px;min-height:30px;font-size:.8rem;font-weight:600;appearance:textfield;-moz-appearance:textfield}.qty-control input::-webkit-inner-spin-button{appearance:none}.qty-control button:disabled{opacity:.25}.cart{position:sticky;top:22px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}.cart-head{padding:20px 20px 16px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.cart-head h3{display:flex;gap:9px;align-items:center;font-size:1rem}.count-badge{background:var(--orange-pale);color:#9e5319;border-radius:50px;min-width:25px;height:25px;display:grid;place-items:center;font-size:.75rem;font-weight:650}.cart-body{padding:18px 20px 20px}.cart-empty{text-align:center;padding:22px 4px 28px;color:var(--muted);font-size:.875rem}.cart-empty .empty-bag{display:grid;place-items:center;width:58px;height:58px;background:#f5f5ec;border-radius:50%;margin:0 auto 13px;color:#8f9a7f}.cart-empty .empty-bag .icon{width:26px;height:26px}.cart-empty strong{display:block;color:var(--ink);font-weight:500;margin-bottom:5px}.cart-items{max-height:300px;overflow:auto}.cart-item{display:flex;gap:8px;justify-content:space-between;padding:11px 0;border-bottom:1px solid #eff0e9;font-size:.8rem}.cart-item:first-child{padding-top:0}.cart-item-name{font-weight:600;line-height:1.35}.cart-item small{display:block;font-size:.73rem;color:var(--muted);margin-top:3px}.cart-item-price{white-space:nowrap;font-weight:600}.cart-total{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:15px;margin-top:10px;font-size:.875rem}.cart-total strong{font-size:1.5rem;letter-spacing:-.04em}.cart-caption{color:var(--muted);font-size:.72rem;margin:5px 0 17px}.cart .btn{font-size:.85rem}.cart .btn+.btn{margin-top:8px}.cart-note{display:flex;gap:7px;align-items:start;color:var(--muted);font-size:.72rem;margin-top:13px;line-height:1.5}.cart-note .icon{width:14px;height:14px;margin-top:2px}.cart-group{font-size:.75rem;background:#f5f6ef;color:var(--muted);padding:10px 20px;border-top:1px solid var(--line)}.cart-notes{font-size:.8rem;min-height:65px;margin:12px 0 4px}.lock-banner{padding:14px 16px;background:var(--green-pale);border:1px solid #d3ddc9;border-radius:10px;display:flex;align-items:flex-start;gap:10px;margin-bottom:20px;font-size:.875rem}.lock-banner strong{display:block;margin-bottom:3px}.lock-banner .icon{flex-shrink:0;margin-top:2px}.notice{padding:15px 18px;background:var(--orange-pale);border:1px solid #f0d7b7;border-radius:12px;font-size:.875rem;margin-bottom:20px;color:#795125}.footer{border-top:1px solid var(--line);padding:24px 4%;display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:.75rem;max-width:1600px;margin:auto}.footer strong{font-family:Georgia,serif;color:var(--green);font-size:.95rem}.loading{display:grid;place-items:center;min-height:220px;color:var(--muted);gap:12px}.spinner{width:23px;height:23px;display:inline-block;border:2px solid #dce5d2;border-top-color:var(--green);border-radius:50%;animation:spin .7s linear infinite}.initial-loader{min-height:100vh;display:flex;gap:15px;align-items:center;justify-content:center;color:var(--green)}@keyframes spin{to{transform:rotate(360deg)}}.empty-state{text-align:center;padding:48px 20px;background:#fff;border:1px dashed #d6ddcf;border-radius:12px;grid-column:1/-1;color:var(--muted)}.empty-state h3{color:var(--ink);margin-bottom:6px}.empty-state p{font-size:.875rem;max-width:460px;margin:auto}.empty-state .btn{margin-top:18px}.empty-state>.icon{width:32px;height:32px;margin-bottom:12px;color:#8b9b7c}.admin-shell{display:grid;grid-template-columns:228px minmax(0,1fr);min-height:calc(100vh - 88px)}.sidebar{border-right:1px solid var(--line);padding:28px 17px;background:#f5f6ee;display:flex;flex-direction:column;gap:5px}.nav-label{font-size:.65rem;letter-spacing:.15em;text-transform:uppercase;color:#7a846e;padding:4px 13px 10px;font-weight:700}.nav-link{display:flex;align-items:center;gap:11px;padding:12px 14px;border:0;border-radius:9px;background:transparent;color:#626e5b;font-size:.9rem;text-align:left;text-decoration:none}.nav-link.active{background:var(--green);color:white;box-shadow:0 3px 9px #234c3816}.nav-link:not(.active):hover{background:#e7ecde}.sidebar-bottom{margin-top:auto;padding:26px 13px 0;font-size:.75rem;color:#7b846f;line-height:1.6}.sidebar-bottom strong{display:block;color:var(--green);margin-bottom:5px;font-weight:600}.admin-main{padding:35px 38px 50px;max-width:1450px;width:100%;min-width:0}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:26px}.page-heading h1{font-size:2.4rem}.page-heading p{margin-top:7px;font-size:.9rem;color:var(--muted)}.page-heading .eyebrow{color:#879476;margin-bottom:8px;font-size:.65rem}.admin-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:23px}.scope-select{min-width:210px;width:auto;max-width:100%;font-size:.875rem}.admin-toolbar .search-field{min-width:200px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.stat-card{padding:20px;background:#fff;border:1px solid var(--line);border-radius:14px}.stat-label{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:.8rem;margin-bottom:13px}.stat-label .icon{color:#8e9c7d;width:18px;height:18px}.stat-number{font-family:Georgia,serif;font-size:2.3rem;letter-spacing:-.04em;line-height:1.1}.stat-caption{font-size:.73rem;color:var(--muted);margin-top:6px}.stat-card.highlight{background:var(--green);color:white;border-color:var(--green)}.stat-card.highlight .stat-label,.stat-card.highlight .stat-caption{color:#c6d5bd}.stat-card.highlight .stat-label .icon{color:#efb16f}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;margin-bottom:22px;overflow:hidden}.panel-heading{padding:19px 22px;display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--line)}.panel-heading h2{font-size:1.4rem}.panel-heading p{font-size:.78rem;color:var(--muted);margin-top:5px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:.85rem}th{font-weight:500;color:var(--muted);text-align:left;background:#f8f9f4;font-size:.74rem;white-space:nowrap;padding:12px 20px;border-bottom:1px solid var(--line)}td{padding:15px 20px;border-bottom:1px solid #edf0e7;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcf8}td strong{font-weight:600}td small{display:block;font-size:.73rem;color:var(--muted);margin-top:3px}.status{display:inline-flex;align-items:center;gap:5px;border-radius:40px;padding:4px 9px;white-space:nowrap;font-size:.72rem;font-weight:600}.status.validated,.status.active{background:#eaf2e4;color:#456431}.status.draft{background:#fff1dc;color:#9b6b27}.status.inactive{background:#f0f0ec;color:#73776d}.status.admin{background:#e9ecf4;color:#4f6182}.table-money{font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}.split-panels{display:grid;grid-template-columns:1.1fr 1fr;gap:22px}.split-panels .panel{min-width:0}.mini-progress{height:5px;background:#edf0e5;border-radius:5px;max-width:110px;margin-top:7px}.mini-progress span{display:block;height:100%;background:#91ab75;border-radius:5px}.order-card{border:1px solid var(--line);background:white;border-radius:14px;padding:20px;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:13px}.order-card p{color:var(--muted);font-size:.8rem;margin-top:5px}.order-card strong{font-weight:650}.order-summary{display:flex;gap:22px;align-items:center}.order-summary .table-money{font-size:1.1rem}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:200;background:var(--green-deep);color:#fff;padding:13px 22px;border-radius:12px;box-shadow:0 8px 35px #0002;max-width:min(90vw,540px);font-size:.9rem}.toast.error{background:#96392e}dialog{border:0;padding:0;border-radius:20px;color:var(--ink);background:var(--paper);width:min(580px,calc(100vw - 30px));max-height:calc(100dvh - 40px);box-shadow:0 30px 100px #152b2a40}dialog::backdrop{background:#15281ed0;backdrop-filter:blur(3px)}dialog.wide{width:min(920px,calc(100vw - 30px))}.modal-head{padding:27px 28px 18px;display:flex;justify-content:space-between;gap:16px;align-items:start}.modal-head h2{font-size:1.9rem}.modal-head p{font-size:.875rem;color:var(--muted);margin-top:8px}.modal-close{border:0;background:#e9ede2;display:grid;place-items:center;min-width:32px;height:32px;border-radius:50%;color:var(--green)}.modal-close .icon{width:16px;height:16px}.modal-body{padding:0 28px 28px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:6px;font-size:.8rem;font-weight:600}.field.full{grid-column:1/-1}.field small{color:var(--muted);font-weight:400;font-size:.75rem}.field.checkbox{flex-direction:row;align-items:center;font-weight:500}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:23px;padding-top:20px;border-top:1px solid var(--line)}.form-error{color:var(--danger);background:#fff0ee;border-radius:8px;padding:10px 13px;font-size:.825rem;margin-bottom:18px}.auth-tabs{display:flex;gap:4px;padding:4px;background:#e9ede2;border-radius:10px;margin-bottom:23px}.auth-tabs button{flex:1;border:0;border-radius:7px;background:transparent;padding:9px;font-size:.85rem;color:var(--muted);font-weight:600}.auth-tabs button.active{background:#fff;color:var(--green);box-shadow:0 1px 5px #1f38200a}.auth-foot{text-align:center;font-size:.75rem;color:var(--muted);margin-top:17px}.modal-total{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:18px;margin-top:18px;font-size:.875rem}.modal-total strong{font-size:1.5rem}.detail-meta{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:22px;font-size:.85rem}.detail-meta small{display:block;color:var(--muted);font-size:.73rem;margin-bottom:3px}.order-edit-table td,.order-edit-table th{padding:10px 12px}.order-edit-table input{min-width:70px;width:80px;text-align:center;padding:8px;min-height:38px}.order-edit-table .icon-btn{width:30px;height:32px}.order-add{display:flex;gap:9px;align-items:center;margin-top:15px}.order-add select{font-size:.8rem;min-width:0;flex:1}.password-help{font-size:.75rem;color:var(--muted);margin-top:4px}.mobile-bottom{display:none}.noscript{padding:30px;text-align:center}.hero-tag{position:absolute;right:26px;top:24px;z-index:1;border:1px solid #ffffff3b;padding:6px 10px;border-radius:40px;font-size:.68rem;color:#e3eadc}.admin-caption{font-size:.75rem;color:var(--muted);margin-top:14px}.table-empty{text-align:center;color:var(--muted);padding:35px!important}.breadcrumb{font-size:.75rem;color:var(--muted);margin-bottom:18px}.security-note{font-size:.8rem;color:var(--muted);line-height:1.6}.error-page{max-width:600px;padding:50px 25px;margin:auto}.error-page h1{font-size:2.5rem;margin-bottom:15px}.error-page .btn{margin-top:20px}.save-state{font-size:.75rem;color:var(--muted);margin-top:8px;text-align:center}.section-balance{display:flex;gap:12px;align-items:center}.filter-label{font-size:.8rem;color:var(--muted)}
@media(min-width:1450px){.product-art{height:150px}.hero{min-height:270px}.hero-art{right:25px;width:430px;height:350px}.product-name{font-size:1rem}}
@media(max-width:1180px){.customer-main{padding:28px 25px 45px}.catalog-layout{grid-template-columns:minmax(0,1fr) 290px;gap:22px}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-main{padding:30px 25px}.admin-shell{grid-template-columns:205px minmax(0,1fr)}.stats-grid{gap:12px}.stat-card{padding:17px}.stat-number{font-size:1.9rem}.split-panels{grid-template-columns:1fr}.desktop-only{display:none}.hero-art{right:-55px}.hero-copy{max-width:70%}td,th{padding-left:15px;padding-right:15px}}
@media(max-width:850px){.topbar{height:76px;padding:0 23px}.brand-name{font-size:1.35rem}.brand-mark{width:39px;height:39px}.brand-sub{font-size:.59rem}.topbar-center{display:none}.topbar-right{gap:5px}.user-label{display:none}.admin-shell{grid-template-columns:1fr;min-height:calc(100vh - 76px)}.sidebar{display:none;border-right:0;border-bottom:1px solid var(--line);padding:14px 20px;position:relative;z-index:10}.sidebar.open{display:flex}.sidebar-bottom{display:none}.mobile-toggle{display:grid}.admin-main{padding:26px 23px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-layout{grid-template-columns:minmax(0,1fr) 265px;gap:18px}.product-body{padding:12px}.product-buy{flex-wrap:wrap;row-gap:8px}.product-art{height:125px}.hero{padding:30px}.hero-art{width:310px;height:270px;right:-70px}.hero-copy{max-width:74%}.hero h1{font-size:2.7rem}.hero p{max-width:350px}.hero-foot{gap:10px;font-size:.7rem}.cart-head,.cart-body{padding-left:16px;padding-right:16px}.hero-tag{display:none}.section-heading h2{font-size:1.85rem}.page-heading h1{font-size:2.1rem}}
@media(max-width:650px){.topbar{padding:0 17px;height:73px;gap:10px}.brand-name{font-size:1.26rem}.brand-sub{letter-spacing:.12em;font-size:.57rem}.brand-mark{height:35px;width:35px}.topbar .btn{padding:9px 11px;min-height:38px;font-size:.8rem}.topbar .avatar{width:32px;height:32px}.topbar .logout-label{display:none}.customer-main{padding:20px 17px 95px}.hero{min-height:245px;border-radius:16px;padding:26px 23px;margin-bottom:26px;align-items:start}.hero-copy{max-width:88%}.hero .eyebrow{font-size:.61rem;margin-bottom:12px;letter-spacing:.12em}.hero h1{font-size:2.4rem;max-width:290px}.hero p{font-size:.82rem;max-width:260px;line-height:1.6;margin-top:12px}.hero-art{width:230px;height:210px;right:-88px;bottom:-49px;opacity:.65}.hero-foot{margin-top:20px;font-size:.67rem;gap:14px}.hero-foot span:last-child{display:none}.catalog-layout{grid-template-columns:1fr;gap:24px}.cart{position:static}.section-heading{align-items:flex-start;margin-bottom:17px;gap:8px}.section-heading h2{font-size:1.85rem}.section-heading p{font-size:.8rem}.group-tag{font-size:.67rem;padding:6px 9px;max-width:130px;line-height:1.35}.group-tag .icon{width:14px;height:14px}.catalog-tools{margin-bottom:13px}.catalog-sort{font-size:.75rem}.search-field input{font-size:.85rem}.category-tabs{margin-bottom:3px}.category-tab{font-size:.76rem;padding:7px 12px;min-height:35px}.products-grid{gap:12px}.product-art{height:127px}.product-art svg{width:138px;height:117px}.unit-badge{top:8px;left:8px;font-size:.6rem}.product-body{padding:12px}.product-name{font-size:.82rem;min-height:40px}.product-unit{font-size:.7rem;margin-bottom:10px}.product-price{font-size:1.05rem}.product-buy{gap:7px}.qty-control{height:32px}.qty-control button{width:25px;height:30px}.qty-control input{width:24px;font-size:.75rem}.product-price small{display:none}.footer{padding:22px 18px 90px;flex-direction:column;font-size:.72rem;gap:7px}.mobile-bottom{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:20;background:#fff;box-shadow:0 -4px 30px #1e3c2a15;border-top:1px solid var(--line);padding:10px 17px max(10px,env(safe-area-inset-bottom));align-items:center;justify-content:space-between;gap:15px}.mobile-bottom .btn{min-width:150px}.mobile-bottom small{display:block;font-size:.7rem;color:var(--muted)}.mobile-bottom strong{font-size:1.1rem}.admin-main{padding:24px 17px 40px}.page-heading{gap:13px;flex-wrap:wrap;margin-bottom:22px}.page-heading h1{font-size:2.15rem}.page-heading p{font-size:.82rem}.page-heading .btn{font-size:.8rem;padding:9px 12px}.stats-grid{gap:10px;margin-bottom:20px}.stat-card{padding:16px}.stat-label{font-size:.72rem;margin-bottom:12px}.stat-number{font-size:1.9rem}.stat-caption{font-size:.65rem}.panel-heading{padding:16px}.panel-heading h2{font-size:1.3rem}.panel-heading .btn{font-size:.73rem}.admin-toolbar{gap:9px;margin-bottom:18px}.scope-select{min-width:0;width:100%;font-size:.82rem}.admin-toolbar .search-field{min-width:100%;order:2}.panel td,.panel th{padding:12px 15px}.panel table{font-size:.78rem}.order-card{padding:17px;align-items:start;gap:10px;flex-wrap:wrap}.order-summary{width:100%;justify-content:space-between;margin-top:6px;gap:10px}.order-card p{font-size:.75rem}.modal-head{padding:22px 20px 17px}.modal-body{padding:0 20px 22px}.modal-head h2{font-size:1.65rem}.modal-head p{font-size:.8rem}.form-grid{gap:14px}.field{font-size:.77rem}.form-grid .field{grid-column:1/-1}.form-actions{margin-top:20px;gap:8px;flex-wrap:wrap}.form-actions .btn{flex:1;font-size:.82rem;padding:10px 13px}.detail-meta{font-size:.78rem;gap:12px}.order-edit-table td,.order-edit-table th{padding:9px 8px}.order-edit-table input{width:65px;min-width:65px;font-size:.8rem}.order-add{align-items:stretch}.order-add .btn{padding:9px;font-size:.75rem}.toast{bottom:83px;font-size:.82rem;width:max-content;text-align:center}.lock-banner{font-size:.8rem}.hero-foot .icon{width:14px;height:14px}.catalog-sort.hidden-small{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:0s!important;transition:none!important}.spinner{animation:none}}

.cart-remove{display:block;margin-left:auto;margin-top:3px;border:0;background:transparent;padding:2px 0;font-size:.7rem;font-weight:400;color:var(--muted);text-decoration:underline;text-underline-offset:2px}.cart-remove:hover{color:var(--danger)}

/* Keep long category rows inside their grid column at every viewport. */
.catalog-layout>*{min-width:0}.products-grid{min-width:0}.category-tabs{max-width:100%;min-width:0}.product-card{min-width:0}.product-name,.product-unit{overflow-wrap:anywhere}
@media(max-width:650px){.topbar{padding-left:14px;padding-right:14px;gap:6px}.topbar .brand{gap:7px;min-width:0}.topbar .brand-mark{width:32px;height:36px;flex-shrink:0}.topbar .brand-name{font-size:1.17rem;line-height:1}.topbar .brand-name>span{display:block;font-size:.88rem;margin-top:4px;white-space:nowrap}.topbar .brand-sub{display:none}.topbar-right{gap:3px;flex-shrink:0}.topbar .btn{min-height:44px;padding:8px 8px;font-size:.76rem}.topbar .icon-btn{min-width:40px;min-height:44px}.topbar .btn.ghost:has(.icon){min-width:40px;padding:8px}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.catalog-layout>section{min-width:0;max-width:100%}.category-tabs{width:100%;overflow-x:auto}.catalog-tools{min-width:0}.catalog-tools .search-field{min-width:0}.product-price{font-size:1rem}.product-buy{column-gap:4px}.qty-control button{min-width:24px}.product-art svg{max-width:100%}}
@media(max-width:360px){.topbar{padding-left:10px;padding-right:10px}.topbar .brand-mark{width:27px}.topbar .brand-name{font-size:1.05rem}.topbar .brand-name>span{font-size:.77rem}.topbar .btn{font-size:.7rem;padding-left:6px;padding-right:6px}}

/* Keep absolutely positioned accessible table labels inside the table scrollport. */
.table-wrap{position:relative;max-width:100%;min-width:0}

.calculated-price{display:block;min-height:46px;padding:11px 13px;border:1px solid #d6ddcf;border-radius:10px;background:var(--green-pale);color:var(--green);font-size:1rem;font-weight:600;font-variant-numeric:tabular-nums}
