:root{--primary:#2563eb;--primary-dark:#1e40af;--bg:#f8fafc;--text:#0f172a;--muted:#64748b;--border:#e2e8f0;--surface:#fff;--surface-hover:#f1f5f9;--shadow-rgb:15, 23, 42}[data-theme=dark]{--primary:#3b82f6;--primary-dark:#1d4ed8;--bg:#0b1220;--text:#e2e8f0;--muted:#94a3b8;--border:#334155;--surface:#1e293b;--surface-hover:#334155;--shadow-rgb:0, 0, 0}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,sans-serif;transition:background-color .2s,color .2s}#root{flex-direction:column;min-height:100vh;display:flex}.app-header{background:linear-gradient(135deg, var(--primary), var(--primary-dark));color:#fff;box-shadow:0 2px 8px rgba(var(--shadow-rgb),.08);grid-template-columns:1fr auto 1fr;align-items:center;padding:.6rem 2rem;display:grid}.app-header h1{grid-column:2}.app-logo{color:inherit;text-decoration:none}.app-logo:focus-visible{outline-offset:4px;border-radius:2px;outline:2px solid}.header-actions{grid-column:3;justify-self:end;align-items:center;gap:.5rem;display:inline-flex}.hamburger{color:#fff;cursor:pointer;background:0 0;border:none;grid-column:1;justify-content:center;justify-self:start;align-items:center;padding:0;display:none}.account-button,.basket-button,.theme-toggle{color:#fff;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:.2rem;transition:background .15s;display:inline-flex;position:relative}.account-button,.basket-button{width:2rem;height:2rem}.account-button-active,.basket-button-active{background:#ffffff29}.basket-presence-dot{background:#22c55e;border:1px solid #fff;border-radius:999px;width:.48rem;height:.48rem;position:absolute;top:.25rem;right:.25rem}.account-button:hover,.basket-button:hover,.theme-toggle:hover{background:#ffffff1f}.app-header h1{letter-spacing:.3px;font-size:1.5rem;font-weight:600}.app-footer{border-top:1px solid var(--border);color:var(--muted);text-align:center;flex-shrink:0;padding:1rem 2rem;font-size:.75rem}.privacy-preferences-button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;margin:.35rem auto 0;padding:.15rem;text-decoration:underline;display:block}.privacy-banner{z-index:150;border:1px solid var(--border);background:var(--surface);width:min(31rem,100% - 2rem);max-height:calc(100dvh - 2rem);box-shadow:0 4px 18px rgba(var(--shadow-rgb), .16);border-radius:12px;padding:1rem;position:fixed;inset:auto 1rem 1rem auto;overflow:auto}.privacy-banner h2{font-size:1rem}.privacy-banner p{margin-top:.5rem;font-size:.875rem;line-height:1.5}.privacy-banner-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin-top:.75rem;display:grid}.privacy-banner-actions [aria-pressed=true]{border-color:var(--primary)}.page{flex:1;grid-template-columns:280px minmax(0,1fr) 280px;align-items:start;gap:2rem;padding:2rem;display:grid}.page-main{flex-direction:column;grid-column:2;gap:2rem;width:100%;min-width:0;max-width:1196px;margin:0 auto;display:flex}.sidebar{background:var(--surface);box-shadow:0 2px 8px rgba(var(--shadow-rgb),.06);border-radius:12px;max-height:calc(100vh - 6rem);padding:1rem;position:sticky;top:1rem;overflow-y:auto}.sidebar-header{justify-content:space-between;align-items:center;margin-bottom:.75rem;display:flex}.sidebar-title{color:var(--text);font-size:.95rem;font-weight:600}.sidebar-close{cursor:pointer;color:var(--muted);background:0 0;border:none;padding:0 .25rem;font-size:1.6rem;line-height:1;display:none}.sidebar-backdrop{display:none}.category-tree,.category-subtree{margin:0;padding:0;list-style:none}.category-subtree{border-left:1px solid var(--border);margin-top:.2rem;margin-left:.4rem;padding-left:.85rem}.category-node{margin:.15rem 0}.category-row{align-items:center;gap:.25rem;display:flex}.category-toggle{cursor:pointer;width:1.4rem;height:1.4rem;color:var(--muted);background:0 0;border:none;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;padding:0;font-size:.7rem;display:inline-flex}.category-toggle:hover{background:var(--surface-hover)}.category-toggle:disabled{cursor:not-allowed;opacity:.4;background:0 0}.category-toggle-spacer{cursor:default}.category-toggle-spacer:hover{background:0 0}.category-button{text-align:left;min-width:0;color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:6px;flex:1;padding:.35rem .55rem;font-family:inherit;font-size:.88rem;transition:background .12s,color .12s}.category-button:hover{background:var(--surface-hover)}.category-button.selected{background:var(--primary);color:#fff}.category-button.selected:hover{background:var(--primary-dark)}.search-controls{z-index:10;background:var(--bg);flex-direction:column;gap:1rem;width:100%;display:flex;position:sticky;top:1rem}.search-controls:before{content:"";background:var(--bg);height:1rem;position:absolute;bottom:100%;left:0;right:0}.search-row{flex-wrap:wrap;align-items:center;gap:1rem;width:100%;display:flex}.search-count{color:var(--muted);white-space:nowrap;font-size:.95rem;font-weight:500}.search-form{width:640px;max-width:100%;position:relative}.search-filters{flex-wrap:wrap;gap:.75rem;width:100%;max-width:100%;display:flex}.search-select{min-width:180px;color:var(--text);background:var(--surface);border:2px solid var(--border);cursor:pointer;border-radius:999px;outline:none;flex:1 1 0;padding:.5rem 1rem;font-family:inherit;font-size:.95rem}.search-select:focus{border-color:var(--primary);box-shadow:0 0 0 4px #2563eb2e}.brand-filter{flex:1 1 0;min-width:180px;position:relative}.brand-filter-summary{text-overflow:ellipsis;white-space:nowrap;padding-right:2.2rem;list-style:none;display:block;overflow:hidden}.brand-filter-summary::-webkit-details-marker{display:none}.brand-filter-summary:after{content:"";border-bottom:2px solid;border-right:2px solid;width:.45rem;height:.45rem;position:absolute;top:50%;right:1rem;transform:translateY(-70%)rotate(45deg)}.brand-filter-summary.disabled{color:var(--muted);cursor:default;opacity:.75}.brand-filter[open] .brand-filter-summary{border-color:var(--primary);box-shadow:0 0 0 4px #2563eb2e}.brand-filter-menu{z-index:20;max-height:18rem;color:var(--text);background:var(--surface);border:2px solid var(--border);box-shadow:0 16px 40px rgba(var(--shadow-rgb),.16);border-radius:.75rem;padding:.45rem;position:absolute;top:calc(100% + .35rem);left:0;right:0;overflow:auto}.brand-filter-clear,.brand-filter-option{width:100%;min-height:2.25rem;color:var(--text);text-align:left;background:0 0;border:0;border-radius:.5rem;align-items:center;gap:.6rem;padding:.45rem .6rem;font-family:inherit;font-size:.92rem;display:flex}.brand-filter-clear{cursor:pointer}.brand-filter-clear:disabled{color:var(--muted);cursor:default}.brand-filter-clear:not(:disabled):hover,.brand-filter-option:hover{background:var(--surface-hover)}.brand-filter-options{gap:.1rem;display:grid}.brand-filter-option{cursor:pointer}.brand-filter-option input{width:1rem;height:1rem;accent-color:var(--primary)}.brand-filter-option span{overflow-wrap:anywhere}.search-input{width:100%;color:var(--text);background:var(--surface);border:2px solid var(--border);box-shadow:0 4px 16px rgba(var(--shadow-rgb),.04);border-radius:999px;outline:none;padding:.7rem 4rem .7rem 1.5rem;font-family:inherit;font-size:1rem;transition:border-color .15s,box-shadow .15s}.search-input::-webkit-search-cancel-button{display:none}.search-button{background:var(--primary);color:#fff;cursor:pointer;border:none;border-radius:999px;justify-content:center;align-items:center;height:calc(100% - 12px);padding:0 1.2rem;font-family:inherit;transition:background .15s;display:flex;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.search-button:hover{background:var(--primary-dark)}.search-button:focus{outline:none;box-shadow:0 0 0 3px #2563eb59}.search-input::placeholder{color:var(--muted)}.search-input:focus{border-color:var(--primary);box-shadow:0 0 0 4px #2563eb2e}.product-grid{grid-template-columns:repeat(auto-fit,220px);justify-content:center;gap:1.5rem;width:100%;display:grid}.product-card{background:var(--surface);box-shadow:0 2px 8px rgba(var(--shadow-rgb),.06);border-radius:12px;flex-direction:column;gap:.4rem;padding:1rem;transition:transform .15s,box-shadow .15s;display:flex;position:relative}.product-card-body{flex-direction:column;flex:1;gap:.4rem;min-width:0;display:flex}.product-card-clickable{cursor:pointer}.product-card-clickable:focus{border-radius:8px;outline:none;box-shadow:0 0 0 4px #2563eb2e}.basket-add-button{color:#fff;background:var(--primary);cursor:pointer;border:none;border-radius:999px;justify-content:center;align-items:center;padding:0;transition:background .15s,opacity .15s;display:inline-flex}.basket-add-button:hover,.basket-add-button:focus{background:var(--primary-dark);outline:none}.basket-add-button-remove{background:#dc2626}.basket-add-button-remove:hover,.basket-add-button-remove:focus{background:#b91c1c}.basket-add-button:disabled{cursor:not-allowed;opacity:.55}.product-card-add{z-index:2;border:2px solid var(--surface);width:2rem;height:2rem;box-shadow:0 2px 8px rgba(var(--shadow-rgb),.16);position:absolute;top:.65rem;right:.65rem}.product-card-add-spinner{border:2px solid #ffffff73;border-top-color:#fff;border-radius:999px;width:.95rem;height:.95rem;animation:.8s linear infinite spin}.product-group-badge{z-index:1;color:#fff;background:var(--primary);border:2px solid var(--surface);width:2rem;height:2rem;box-shadow:0 2px 8px rgba(var(--shadow-rgb),.16);border-radius:999px;justify-content:center;align-items:center;display:inline-flex;position:absolute;top:.65rem;left:.65rem}.basket-choice-backdrop{z-index:200;background:rgba(var(--shadow-rgb),.48);justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.basket-choice-dialog{background:var(--surface);border:1px solid var(--border);width:min(100%,760px);max-height:min(720px,100vh - 2rem);box-shadow:0 20px 48px rgba(var(--shadow-rgb),.24);border-radius:12px;flex-direction:column;gap:1rem;padding:1rem;display:flex;overflow:hidden}.basket-choice-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.basket-choice-kicker{color:var(--muted);text-transform:uppercase;font-size:.76rem;font-weight:700}.basket-choice-title{color:var(--text);margin-top:.2rem;font-size:1.25rem;line-height:1.25}.basket-choice-close{width:2.25rem;height:2.25rem;color:var(--muted);background:var(--surface-hover);border:1px solid var(--border);cursor:pointer;border-radius:999px;flex:none;justify-content:center;align-items:center;display:inline-flex}.basket-choice-close:hover,.basket-choice-close:focus{color:#fff;background:var(--primary);border-color:var(--primary);outline:none}.basket-choice-list{flex-direction:column;gap:.75rem;padding-right:.2rem;display:flex;overflow-y:auto}.basket-choice-row{background:var(--surface);border:1px solid var(--border);border-radius:10px;grid-template-columns:5rem minmax(0,1fr) auto auto;align-items:center;gap:1rem;padding:.75rem;display:grid}.basket-choice-add{width:2.35rem;height:2.35rem}.basket-quantity-dialog{width:min(100%,420px)}.basket-quantity-content{justify-content:space-between;align-items:center;gap:1rem;padding:1rem 0;display:flex}.basket-quantity-total{color:var(--muted);font-size:.9rem}.basket-quantity-total strong{color:var(--text);font-size:1.05rem}.basket-quantity-confirm{color:#fff;background:var(--primary);width:100%;font:inherit;cursor:pointer;border:none;border-radius:8px;padding:.75rem 1rem;font-weight:700}.basket-quantity-confirm:hover,.basket-quantity-confirm:focus{background:var(--primary-dark);outline:none}.basket-quantity-confirm:disabled{cursor:not-allowed;opacity:.6}.quantity-stepper{color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:999px;grid-template-columns:2.5rem minmax(2.5rem,auto) 2.5rem;align-items:center;display:inline-grid;overflow:hidden}.quantity-stepper button{width:2.5rem;height:2.5rem;color:var(--primary);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;display:inline-flex}.quantity-stepper button:hover,.quantity-stepper button:focus{background:var(--surface-hover);outline:none}.quantity-stepper button:disabled{color:var(--muted);cursor:not-allowed;opacity:.45}.quantity-stepper>span{text-align:center;min-width:2.5rem;font-weight:700}.quantity-stepper-compact{grid-template-columns:2rem minmax(2rem,auto) 2rem}.quantity-stepper-compact button{width:2rem;height:2rem}.quantity-stepper-compact>span{min-width:2rem;font-size:.9rem}.basket-page{flex:1;padding:2rem}.basket-shell{flex-direction:column;gap:1.5rem;width:min(100%,1100px);margin:0 auto;display:flex}.basket-header{justify-content:space-between;align-items:flex-end;gap:1rem;display:flex}.basket-title{color:var(--text);font-size:1.8rem;line-height:1.2}.basket-subtitle{color:var(--muted);margin-top:.25rem;font-size:.95rem}.basket-total{background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-direction:column;align-items:flex-end;gap:.2rem;min-width:9rem;padding:.8rem 1rem;display:flex}.basket-total span{color:var(--muted);text-transform:uppercase;font-size:.75rem;font-weight:700}.basket-total strong{color:var(--text);font-size:1.4rem;line-height:1}.basket-empty{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:1.25rem}.basket-empty h3{color:var(--text);font-size:1.1rem}.basket-empty p{color:var(--muted);margin-top:.25rem}.basket-supermarket-tabs{gap:.75rem;padding-bottom:.15rem;display:flex;overflow-x:auto}.basket-supermarket-tab{min-width:11rem;color:var(--text);background:var(--surface);border:1px solid var(--border);cursor:pointer;border-radius:10px;flex-direction:column;flex:none;align-items:flex-start;gap:.25rem;padding:.75rem .9rem;font-family:inherit;display:flex}.basket-supermarket-tab span{text-transform:uppercase;font-size:.8rem;font-weight:700}.basket-supermarket-tab strong{font-size:1.05rem}.basket-supermarket-tab.selected,.basket-supermarket-tab:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 4px #2563eb29}.basket-supermarket-panel{flex-direction:column;gap:1rem;min-width:0;display:flex}.basket-panel-heading{justify-content:space-between;align-items:center;gap:1rem;display:flex}.basket-panel-heading h3{color:var(--text);font-size:1.2rem}.basket-panel-heading p{color:var(--muted);margin-top:.2rem;font-size:.9rem}.basket-product-list{flex-direction:column;gap:1rem;display:flex}.basket-product-card{background:var(--surface);border:1px solid var(--border);border-radius:10px;grid-template-columns:5rem minmax(0,1fr) auto;align-items:center;gap:1rem;padding:.75rem;display:grid}.basket-product-image-wrap{aspect-ratio:1;background:var(--surface-hover);border-radius:8px;width:5rem;overflow:hidden}.basket-product-image{object-fit:contain;width:100%;height:100%}.basket-product-info{min-width:0}.basket-product-info h4{color:var(--text);font-size:.98rem;line-height:1.3}.basket-product-footer{border-left:1px solid var(--border);justify-content:flex-end;align-items:center;gap:.75rem;min-width:9rem;padding-left:1rem;display:flex}.basket-product-footer .product-cost-compact{text-align:right;min-width:0}.basket-line-price{min-width:5.5rem;color:var(--text);text-align:right;flex-direction:column;align-items:flex-end;display:flex}.basket-line-price strong{white-space:nowrap;font-size:1rem}.basket-line-price span{color:var(--muted);white-space:nowrap;font-size:.72rem}.basket-line-price-missing{color:var(--muted);font-size:.82rem}.product-image-wrap{aspect-ratio:1;background:var(--surface-hover);border-radius:8px;justify-content:center;align-items:center;width:100%;margin-bottom:.4rem;display:flex;overflow:hidden}.product-image{object-fit:contain;width:100%;height:100%}.product-image-placeholder{background:var(--surface-hover)}.product-supermarket{color:var(--text);text-transform:uppercase;letter-spacing:.6px;font-size:.7rem;font-weight:700}.account-dialog-backdrop{z-index:250;background:rgba(var(--shadow-rgb),.52);justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.account-dialog{width:min(100%,430px);max-height:calc(100vh - 2rem);color:var(--text);background:var(--surface);border:1px solid var(--border);box-shadow:0 20px 48px rgba(var(--shadow-rgb),.28);border-radius:14px;padding:1.25rem;overflow-y:auto}.account-dialog-header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.account-dialog-header h2{font-size:1.25rem}.account-dialog-close{width:2.25rem;height:2.25rem;color:var(--muted);background:var(--surface-hover);border:1px solid var(--border);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;font-size:1.4rem;display:inline-flex}.account-dialog-close:hover,.account-dialog-close:focus{color:#fff;background:var(--primary);border-color:var(--primary);outline:none}.account-mode-tabs{background:var(--surface-hover);border-radius:10px;grid-template-columns:1fr 1fr;gap:.35rem;margin-bottom:1rem;padding:.25rem;display:grid}.account-mode-tabs button{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:none;border-radius:8px;padding:.65rem .75rem;font-weight:650}.account-mode-tabs button.selected{color:var(--text);background:var(--surface);box-shadow:0 1px 4px rgba(var(--shadow-rgb),.1)}.account-form,.account-summary{flex-direction:column;gap:.9rem;display:flex}.account-form label{flex-direction:column;gap:.35rem;display:flex}.account-form label span{font-size:.86rem;font-weight:650}.account-form input{width:100%;color:var(--text);background:var(--bg);border:1px solid var(--border);font:inherit;border-radius:8px;padding:.7rem .8rem}.account-form input:focus{outline:2px solid color-mix(in srgb, var(--primary) 35%, transparent);border-color:var(--primary)}.account-form-note,.account-password-hint,.account-summary p{color:var(--muted);font-size:.86rem}.account-password-hint{margin-top:-.55rem}.account-form-error,.account-form-success{border-radius:8px;padding:.65rem .75rem;font-size:.86rem}.account-form-error{color:#b91c1c;background:#fee2e2}.account-form-success{color:#166534;background:#dcfce7}.account-primary-button,.account-secondary-button{font:inherit;cursor:pointer;border-radius:8px;padding:.72rem 1rem;font-weight:700}.account-primary-button{color:#fff;background:var(--primary);border:1px solid var(--primary)}.account-secondary-button{color:var(--text);background:var(--surface-hover);border:1px solid var(--border)}.account-primary-button:hover:not(:disabled),.account-primary-button:focus:not(:disabled){background:var(--primary-dark);border-color:var(--primary-dark);outline:none}.account-secondary-button:hover:not(:disabled),.account-secondary-button:focus:not(:disabled){border-color:var(--primary);outline:none}.account-primary-button:disabled,.account-secondary-button:disabled{cursor:not-allowed;opacity:.6}.account-form-actions{flex-wrap:wrap;gap:.65rem;display:flex}.account-form-actions>button{flex:10rem}.product-name{color:var(--text);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:1rem;font-weight:600;line-height:1.3;display:-webkit-box;overflow:hidden}.product-brand,.product-quantity{color:var(--muted);font-size:.875rem}.product-cost{border-top:1px solid var(--border);align-items:stretch;gap:.6rem;margin-top:auto;padding-top:.6rem;display:flex}.cost-stack{flex-direction:column;flex:1;gap:.2rem;display:flex}.cost-main{color:var(--text);font-size:1.25rem;font-weight:700}.cost-per-unit{color:var(--muted);font-size:.8rem}.cost-row{flex-wrap:wrap;align-items:baseline;gap:.5rem;display:flex}.cost-arrow{align-items:center;font-size:2rem;font-weight:700;line-height:1;display:flex}.cost-arrow-down{color:#16a34a}.cost-arrow-up{color:#dc2626}.cost-prev{color:var(--muted);font-size:.85rem;font-weight:600}.cost-prev-small{font-size:.72rem}.product-cost-compact{border-top:none;min-width:9rem;margin-top:0;padding-top:0}.product-cost-compact .cost-main{font-size:1.1rem}.product-cost-compact .cost-arrow{font-size:1.5rem}.product-detail-page{flex:1;padding:2rem}.product-detail-shell{flex-direction:column;gap:1.5rem;width:min(100%,1100px);margin:0 auto;display:flex}.back-button{color:var(--text);background:var(--surface);border:1px solid var(--border);cursor:pointer;box-shadow:0 2px 8px rgba(var(--shadow-rgb),.05);border-radius:999px;align-self:flex-start;align-items:center;gap:.45rem;padding:.55rem .85rem;font-family:inherit;font-weight:600;display:inline-flex}.back-button:hover,.back-button:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 4px #2563eb29}.product-detail-hero{background:var(--surface);border:1px solid var(--border);box-shadow:0 2px 8px rgba(var(--shadow-rgb),.06);border-radius:12px;grid-template-columns:minmax(260px,380px) minmax(0,1fr);align-items:start;gap:2rem;padding:1.5rem;display:grid}.product-detail-image-wrap{aspect-ratio:1;background:var(--surface-hover);border-radius:10px;justify-content:center;align-items:center;width:100%;display:flex;overflow:hidden}.product-detail-image{object-fit:contain;width:100%;height:100%}.product-detail-info{flex-direction:column;gap:.85rem;min-width:0;display:flex}.product-detail-kicker,.offer-kicker{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.detail-group-pill,.selected-offer-pill{color:var(--text);background:var(--surface-hover);border:1px solid var(--border);border-radius:999px;align-items:center;padding:.2rem .55rem;font-size:.75rem;font-weight:700;display:inline-flex}.product-detail-title{color:var(--text);font-size:1.8rem;font-weight:700;line-height:1.18}.product-detail-brand{color:var(--muted);font-size:1rem}.product-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;display:grid}.product-facts div{background:var(--surface-hover);border-radius:8px;min-width:0;padding:.75rem}.product-facts dt{color:var(--muted);text-transform:uppercase;font-size:.72rem;font-weight:700}.product-facts dd{color:var(--text);overflow-wrap:anywhere;margin-top:.25rem;font-size:.95rem;font-weight:600}.product-detail-actions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.detail-add-button{width:2.35rem;height:2.35rem}.product-offers-section{flex-direction:column;gap:.75rem;display:flex}.section-title{color:var(--text);font-size:1.1rem;line-height:1.25}.product-offer-list{flex-direction:column;gap:.75rem;display:flex}.product-offer-row{background:var(--surface);border:1px solid var(--border);box-shadow:0 2px 8px rgba(var(--shadow-rgb),.04);border-radius:10px;grid-template-columns:5rem minmax(0,1fr) auto auto;align-items:center;gap:1rem;padding:.75rem;display:grid}.offer-image-wrap{aspect-ratio:1;background:var(--surface-hover);border-radius:8px;width:5rem;overflow:hidden}.offer-image{object-fit:contain;width:100%;height:100%}.offer-info{flex-direction:column;gap:.2rem;min-width:0;display:flex}.offer-name{color:var(--text);font-size:1rem;font-weight:650;line-height:1.3}.offer-link{width:2.35rem;height:2.35rem;color:var(--primary);background:var(--surface-hover);border:1px solid var(--border);border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.offer-actions{justify-content:flex-end;align-items:center;gap:.5rem;display:inline-flex}.offer-add-button{width:2.35rem;height:2.35rem}.offer-link:hover,.offer-link:focus{color:#fff;background:var(--primary);border-color:var(--primary);outline:none}.detail-message{color:var(--muted);background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:1rem}.load-more{justify-content:center;width:100%;padding:.5rem 0 1rem;display:flex}.load-more-button{color:#fff;background:var(--primary);min-width:220px;font:inherit;cursor:pointer;border:none;border-radius:999px;padding:.8rem 1.5rem;font-weight:600;transition:background .15s,opacity .15s,box-shadow .15s}.load-more-button:hover:not(:disabled){background:var(--primary-dark)}.load-more-button:focus{outline:none;box-shadow:0 0 0 3px #2563eb59}.load-more-button:disabled{cursor:wait;opacity:.65}.loading{color:var(--muted);align-items:center;gap:.6rem;padding:.5rem 0 1rem;font-size:.9rem;display:flex}.loading:before{content:"";border:2px solid var(--border);border-top-color:var(--primary);border-radius:50%;width:18px;height:18px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width>=1025px) and (width<=1883px){.page{grid-template-columns:280px minmax(0,1fr)}}@media (width<=1024px){.page{flex-direction:column;gap:1rem;padding:1.5rem;display:flex}.page-main{grid-column:auto;max-width:none;margin:0}.hamburger{display:inline-flex}.sidebar{z-index:100;background:var(--surface);width:280px;max-width:80vw;height:100vh;box-shadow:2px 0 12px rgba(var(--shadow-rgb),.18);border-radius:0;max-height:none;padding:1rem;transition:transform .2s;position:fixed;top:0;left:0;overflow-y:auto;transform:translate(-100%)}.sidebar.sidebar-open{transform:translate(0)}.sidebar-close{justify-content:center;align-items:center;display:inline-flex}.sidebar-backdrop{background:rgba(var(--shadow-rgb),.4);z-index:99;display:block;position:fixed;inset:0}.search-controls{z-index:auto;position:static}.search-controls:before{display:none}.search-row{justify-content:center}.search-filters{margin-left:auto;margin-right:auto}.product-grid{grid-template-columns:repeat(3,1fr)}.product-detail-page,.basket-page{padding:1.5rem}.product-detail-hero{grid-template-columns:minmax(0,1fr)}.product-detail-image-wrap{max-width:360px}.product-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.app-header{padding:.5rem 1rem}.app-header h1{font-size:1.25rem}.page{gap:1rem;padding:1rem}.search-form,.search-filters,.search-select{width:100%}.product-grid{grid-template-columns:repeat(2,1fr);gap:1rem}.product-detail-page,.basket-page{padding:1rem}.basket-header{flex-direction:column;align-items:stretch}.basket-total{align-items:flex-start}.basket-product-card{grid-template-columns:4.5rem minmax(0,1fr);gap:.75rem}.basket-product-image-wrap{width:4.5rem}.basket-product-footer{border-top:1px solid var(--border);border-left:none;grid-column:1/-1;justify-content:space-between;min-width:0;padding:.75rem 0 0}.product-detail-hero{gap:1rem;padding:1rem}.product-detail-title{font-size:1.35rem}.product-facts{grid-template-columns:1fr}.product-offer-row,.basket-choice-row{grid-template-columns:4.25rem minmax(0,1fr) auto;gap:.75rem}.offer-actions,.basket-choice-add{grid-area:1/3;justify-self:end}.offer-image-wrap{width:4.25rem}.basket-choice-row .product-cost-compact,.product-offer-row .product-cost-compact{border-top:1px solid var(--border);grid-column:2/4;width:100%;min-width:0;padding-top:.5rem}}
