:root {
  --ink: #19211f;
  --muted: #56605a;
  --line: #dddcd4;
  --gold: #e9b753;
  --green: #146846;
  --paper: #faf9f6;
}
* {box-sizing:border-box}
body {background:var(--paper);color:var(--ink);font:1rem/1.5 system-ui,sans-serif;margin:0}
.wrap {width:min(1216px,92%);margin-inline:auto}
a {color:inherit;text-underline-offset:.22em}
a:hover {color:#71500b}
:focus-visible {outline:3px solid #755100;outline-offset:4px}
.skip {position:fixed;top:-5rem;left:1rem;z-index:10;background:white;padding:.6rem}
.skip:focus {top:1rem}
header {background:#fff;border-bottom:1px solid var(--line)}
.head,.head nav,footer .wrap,.buy-row,.item-foot,.pager {display:flex;align-items:center}
.head {justify-content:space-between;min-height:76px}
.logo {object-fit:contain;width:114px;height:58px}
.head nav {gap:clamp(.8rem,3vw,2.3rem);font-weight:650;font-size:.94rem}
.head a,footer a,.gold {text-decoration:none}
.head nav a:hover,footer a:hover {text-decoration:underline}
.hero,.product,.item,.panel {border:1px solid var(--line);border-radius:14px;overflow:hidden}
.hero {position:relative;isolation:isolate;background:#f8efdf;margin:1.6rem 0 2.7rem}



.hero-copy {padding:clamp(2rem,4vw,3.6rem);max-width:54%}
.hero h1,.product h1,#katalogus>h2 {font-weight:820;line-height:1.04;letter-spacing:-.049em;text-wrap:balance}
.hero h1 {font-size:clamp(2.8rem,5.4vw,5rem)}
.hero h1 span {color:#ae7514}
.hero-copy p {color:#4d524b;max-width:31ch;margin:1.25rem 0 1.5rem}
.gold {display:inline-flex;justify-content:center;align-items:center;background:var(--gold);color:#272318;font-weight:750;border:0;border-radius:8px;padding:.78rem 1.15rem;min-height:46px}
.gold:hover {background:#f3c66e;color:var(--ink)}
#katalogus {scroll-margin:1rem}
#katalogus>h2 {font-size:clamp(2rem,3.2vw,3rem);margin-bottom:1.4rem}
.catalog {display:grid;grid-template-columns:minmax(205px,24%) minmax(0,1fr);gap:1.4rem;align-items:start}
.panel,.product,.item {background:white}
.filters {padding:1.3rem;display:grid;gap:.5rem}
.filters h3,.section-title {font-weight:750;font-size:1.2rem;letter-spacing:-.025em}
.filters label,.buy label {margin-top:.65rem;font-weight:650}
.form-control,.form-select {min-height:44px;border-color:#b6b9b2}
.filters button {margin-top:.75rem}
.result-count,.sku,.hint {color:var(--muted)}
.result-count {margin:0 0 .7rem;font-weight:650}
.cards {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,215px),1fr));gap:1rem}
.item {position:relative;transition:border-color .18s}
.item:hover,.item:focus-within {border-color:#a97928}
.thumb {height:148px;background:linear-gradient(125deg,#f8f5ee,#eadfc9);display:grid;place-items:center;overflow:hidden}
.thumb img {width:100%;height:100%;object-fit:contain;background:white}
.grade {color:#624b22;letter-spacing:-.07em;font:italic 750 clamp(2.6rem,4vw,4rem)/1 system-ui}
.card-info {padding:1rem}
.brand {color:#785513;text-transform:uppercase;letter-spacing:.13em;font-size:.78rem;font-weight:780;margin:0 0 .55rem}
.item h3 {font-size:1.18rem;line-height:1.3;letter-spacing:-.025em;font-weight:750}
.item h3 a {text-decoration:none}
.item h3 a:after {content:"";position:absolute;inset:0}
.sku,.hint {font-size:.9rem}
.card-litre-price {margin-inline-start:auto;padding-inline-start:.35rem;font-size:.8em;font-weight:400;color:var(--muted);white-space:nowrap}
.item-foot {border-top:1px solid var(--line);justify-content:space-between;padding-top:.8rem}
.stock {color:var(--green);font-size:.88rem;font-weight:700}
.stock:before {content:"";display:inline-block;width:7px;height:7px;background:var(--green);border-radius:50%;margin-right:.45rem}
.crumb {display:flex;flex-wrap:wrap;gap:.6rem;font-size:.9rem;margin:1.35rem 0;color:var(--muted)}
.product {display:grid;grid-template-columns:1.05fr 1fr}
.gallery {background:#e6d8c3;position:relative;margin:0;min-width:0;min-height:350px}
.gallery img {width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:78% center}
.gallery.actual,.gallery.actual img {background:#fff;object-fit:contain}
.gallery figcaption {position:absolute;bottom:1rem;left:1rem;background:#fff;color:#565449;border-radius:4px;padding:.22rem .5rem;font-size:.75rem}
.product-info {padding:clamp(1.5rem,4vw,3.3rem)}
.product h1 {font-size:clamp(2.2rem,3.7vw,3.7rem);margin-bottom:.8rem;overflow-wrap:anywhere}
.section-title {margin:1.8rem 0 .75rem}
.stocklist {border-block:1px solid var(--line);margin:0}
.stocklist div {display:flex;justify-content:space-between;padding:.65rem 0}
.stocklist div+div {border-top:1px solid #eeeee9}
.stocklist dt {font-weight:500}
.stocklist dd {font-weight:700;color:var(--green);margin:0}
.buy {margin:1rem 0}
.buy-row {gap:.6rem;margin-top:.5rem}
.buy-row input {width:5.3rem}
.buy-row button {flex:1}
.notice {background:#eaf5eb;color:#165938;padding:.7rem 1rem;border-radius:6px}
.hint {margin:0}
.pager {gap:1rem;margin:1.3rem 0}
footer {margin-top:3.5rem;border-top:1px solid var(--line);font-size:.95rem}
footer .wrap {gap:2rem;justify-content:space-between;padding-block:1.5rem}
@media(max-width:760px) {
 .head {min-height:62px}.logo {width:82px;height:48px}
 .head nav {font-size:.8rem;gap:.75rem}
 .hero-copy {padding:1.5rem;max-width:62%}
 .hero h1 {font-size:clamp(2.3rem,7vw,3.5rem)}
 .hero-copy p {font-size:.94rem}
 .catalog,.product {grid-template-columns:1fr}
 .gallery {min-height:0;aspect-ratio:1.9}
 .gallery img {object-fit:contain}
 .filters {grid-template-columns:1fr 1fr;display:flex;flex-direction:column}
 .product-info {padding:1.4rem}
}
@media(max-width:450px) {
 .wrap {width:94%}.head nav {gap:.55rem}
 .hero-copy {max-width:100%;padding:1.35rem 1rem}
 .hero-copy p {max-width:53%}


 .hero h1 {font-size:2.25rem}
 .gallery {aspect-ratio:1.65}
 .buy-row button {padding-inline:.5rem}
}
@media(prefers-reduced-motion:reduce) {.item {transition:none}}

.order-dialog {background-color:#f3f4f4;border:1px solid var(--line);border-radius:14px;padding:clamp(1rem,3vw,2rem);width:min(640px,94vw);max-height:90vh;color:var(--ink);overflow-y:auto}
.pack-actions {display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}
.pack-actions #pack-price {margin-inline-start:auto;white-space:nowrap;flex:none}
@media (max-width:575px) {
  .pack-actions .pack-next-detail {display:none}
  .pack-actions .gold {min-height:44px;padding:.4rem .9rem}
}
.order-dialog::backdrop {background:rgba(20,27,25,.56)}
.order-head {display:flex;justify-content:space-between;align-items:center;gap:1rem}
.order-head button {border:0;background:#f1eee6;border-radius:6px;width:44px;height:44px;font-size:1.5rem}
.order-dialog fieldset {margin:1rem 0}
.order-dialog legend {float:none;font-size:1.1rem;font-weight:700}
.order-dialog label {display:block;margin:.4rem 0}
.order-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1rem}
@media(max-width:540px){.order-fields{grid-template-columns:1fr}}
.stock-low {color:#806000;font-weight:600}

.shop-footer {background:#f3f1ec;color:var(--ink)}
.shop-footer .footer-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr));align-items:start;gap:2rem;padding-block:2.5rem}
.shop-footer h2 {font-size:1.05rem;margin:0 0 .85rem}
.shop-footer p,.shop-footer address {margin:0 0 .65rem}
.shop-footer ul {list-style:none;padding:0;margin:0}
.shop-footer li + li {margin-top:.45rem}
.shop-footer a {color:inherit;text-decoration:underline;text-underline-offset:.18em}
.shop-footer .footer-copy {border-top:1px solid var(--line);font-size:.85rem;padding-block:1rem}
.oil-categories{display:flex;flex-wrap:wrap;gap:.55rem;margin:1rem 0 1.5rem}
.oil-categories a{border:1px solid var(--line);padding:.5rem .75rem;border-radius:.5rem;color:var(--ink);background:white;text-decoration:none}
.oil-categories a[aria-current],.oil-categories a:hover{background:#f6dea4}
#photo-open{display:flex;align-items:center;justify-content:center;position:absolute;inset:0;cursor:zoom-in}
#photo-open img{position:static;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:scale-down;object-position:center}
#photo-dialog{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;overflow:hidden;background:#161918}
#photo-dialog[open]{display:flex;align-items:center;justify-content:center}
#photo-dialog img{position:static;width:auto;height:100%;max-width:100%;object-fit:contain;object-position:center;background:transparent}
#photo-dialog::backdrop{background:#161918}
#photo-dialog button{position:absolute;z-index:1;top:max(.75rem,env(safe-area-inset-top));right:max(.75rem,env(safe-area-inset-right));padding:.5rem 1rem;border:1px solid #777;border-radius:.5rem;background:#fff;color:#19211f}
.delivery-prices dd{margin:0}
.shop-footer address a,.shop-footer li a {display:inline-block;padding-block:.3rem}

#mobile-filters {display:none}
@media (max-width:760px) {
  #mobile-filters:not([hidden]) {display:flex;align-items:center;justify-content:space-between;width:100%;padding:.6rem .8rem;margin:.7rem 0;border:1px solid var(--line);border-radius:.5rem;background:white;color:var(--ink);font:inherit;font-weight:650}
  #mobile-filters::after {content:"";width:.55rem;height:.55rem;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg)}
  #mobile-filters[aria-expanded="true"]::after {transform:rotate(225deg)}
  #mobile-filters:not([hidden])[aria-expanded="false"] ~ .oil-categories,
  #mobile-filters:not([hidden])[aria-expanded="false"] ~ .catalog > .filters {display:none}
  .oil-categories {gap:.35rem;margin:.6rem 0 1rem}
  .oil-categories a {font-size:.875rem;padding:.25rem .5rem;line-height:1.3}
}
#oil-filters select:has(option:checked:not([value=""])),
#oil-filters input[type="search"]:not(:placeholder-shown) {background-color:#e0f3e6;border-color:#348056;color:#164c30;font-weight:600}

.head {gap:1rem;flex-wrap:wrap;padding-block:.4rem}
.header-search {position:relative;flex:1 1 16rem;max-width:38rem;margin-inline:auto;display:flex;gap:.35rem}
.header-search input {min-width:0}
.header-controls .control-short {display:none}
#search-suggestions {position:absolute;top:100%;left:0;right:0;z-index:10;max-height:55vh;overflow:auto;padding:.5rem;background:white;border:1px solid var(--line);border-radius:.5rem;box-shadow:0 .5rem 1rem #0002}
#search-suggestions a {display:block;padding:.5rem;color:inherit}
#search-suggestions a:hover,#search-suggestions a:focus {background:#f4f4f4}
#search-suggestions small {display:block}
.approval-suggestions {background:#eef5f2;border-inline-start:3px solid #287052;border-radius:.375rem;padding:.45rem;margin-bottom:.35rem;color:#184d39}
.approval-suggestions > strong {display:block;padding:0 .45rem .2rem;font-size:.8rem}
#search-suggestions .approval-suggestions a {font-weight:600;line-height:1.35;border-radius:.25rem;text-decoration:underline;text-underline-offset:.16em}
#search-suggestions .approval-suggestions a:hover,#search-suggestions .approval-suggestions a:focus {background:#dcece4}
.shop-match, #search-suggestions .shop-match {
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:.85rem 1rem;border:1px solid #e3c991;border-inline-start:4px solid #c08924;
  border-radius:.6rem;background:linear-gradient(110deg,#fffaf0,#f6ead1);
  color:var(--ink);text-decoration:none
}
.shop-match-copy {display:grid;min-width:0;gap:.22rem}
.shop-match-copy small {color:#75500e;font-size:.7rem;font-weight:750;letter-spacing:.08em;text-transform:uppercase}
.shop-match-copy strong {font-size:1.04rem;line-height:1.3;overflow-wrap:anywhere}
.shop-match-action {justify-self:start;margin-top:.22rem;color:#664600;font-size:.85rem;font-weight:650}
.shop-match-action span {display:inline-block;margin-inline-start:.25rem}
.shop-match img {flex:none;width:clamp(46px,12vw,68px);height:auto;aspect-ratio:1;object-fit:contain;background:white;border-radius:.45rem}
.shop-match:hover, #search-suggestions .shop-match:hover, #search-suggestions .shop-match:focus {background:#fff0d0;border-color:#bc8b34}
.shop-match:is(:hover,:focus-visible) .shop-match-action {text-decoration:underline;text-underline-offset:.2em}
.shop-match:focus-visible {outline-offset:-3px}
.oil-photo-column {display:flex;flex-direction:column;min-width:0}
.oil-photo-column .gallery {flex:1}
.oil-approvals {display:flex;flex-wrap:wrap;gap:.35rem;justify-content:center;padding:.75rem}
.oil-approvals .badge {background:var(--bs-primary,#0d6efd);color:white;padding:.4em .65em;border-radius:.375rem;font-size:.82rem;font-weight:650;overflow-wrap:anywhere}
@media(max-width:700px){
 .header-search {min-width:0;width:100%;max-width:none;margin:0}
 .head {display:grid;grid-template-columns:48px minmax(0,1fr);gap:.25rem .4rem}
 .head .logo {display:block;width:48px;height:48px}
 .head .header-controls {order:-1;grid-column:1/-1;display:flex;gap:.35rem}
 .header-controls .btn {padding:.2rem .5rem;font-size:.8rem;line-height:1.3;min-height:28px;white-space:nowrap}
 .header-controls .control-long {display:none}
 .header-controls .control-short {display:inline}
 .oil-photo-column .gallery {flex:none}
}

.pack-main-price {font-size:clamp(1.8rem,4vw,2.5rem);font-weight:800;line-height:1.1}
.pack-litre-price {font-size:.8rem;font-weight:400;color:#545953}
.pack-option {display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem 0;border-bottom:1px solid #ccc}
.pack-option span>strong,.pack-option small {display:block}
.pack-option input {width:5rem;flex:none}
.pack-unit {font-weight:750}
#nav-sites:enabled:required:invalid {border:2px solid var(--bs-danger,#dc3545)}

.hero {display:block;position:relative;isolation:isolate;background:#faf1e2}
.hero picture {display:block;position:absolute;inset:0;z-index:-2;pointer-events:none}
.hero picture img {display:block;width:100%;height:100%;object-fit:contain;object-position:right center}
.hero::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#faf1e2 0%,#faf1e2 38%,rgba(250,241,226,.97) 47%,rgba(250,241,226,0) 68%);pointer-events:none}
.hero-copy {position:relative;width:min(60%,44rem);max-width:100%;padding:clamp(1.4rem,3.5vw,3.15rem)}
.hero-copy h1 {font-size:clamp(2rem,5.4vw,4.7rem);overflow-wrap:anywhere}
.hero-copy>p {max-width:36ch}
.hero-info summary {color:#514322;font-weight:650;display:inline-flex;align-items:center;gap:.5rem;cursor:pointer;min-height:44px}
.hero-info summary::-webkit-details-marker {display:none}
.hero-info summary:focus-visible {outline:2px solid currentColor;outline-offset:3px}
.hero-info-icon {display:inline-grid;place-items:center;width:1.35rem;height:1.35rem;border:1.5px solid currentColor;border-radius:50%;font:bold 1rem Georgia,serif}
.hero-info-body {border-left:2px solid #b98934;padding-left:1rem}
.hero-info-body p {max-width:52ch;font-size:.95rem;margin:.5rem 0}
.hero-info-body a {font-weight:700;color:#544018;text-decoration:underline}
@media(max-width:700px){
 .hero-copy {width:100%;padding:1.35rem 1rem}
 .hero-copy>p {max-width:32ch;margin:.75rem 0 .3rem}
 .hero::before {background:linear-gradient(90deg,#faf1e2 0%,rgba(250,241,226,.98) 48%,rgba(250,241,226,.84) 76%,rgba(250,241,226,.46))}
 .hero-info-body {background:rgba(250,241,226,.95)}
}
.brand-profile {margin:0 0 1rem;padding:1rem 1.25rem;background:#f8f3e8;border:1px solid #e4d9c2;border-left:3px solid #b88932;border-radius:10px}
.brand-profile h3 {margin:0 0 .4rem;font-size:1.2rem;font-weight:750}
.brand-profile p,.oil-guide p {line-height:1.65}
.brand-profile p {max-width:84ch;margin:.25rem 0}
.brand-profile summary {cursor:pointer;color:#624813;font-weight:650;padding:.45rem 0}
.oil-guide {margin:3rem auto;max-width:62rem;border-top:1px solid var(--line);padding:2rem 0 0}
.oil-guide h2 {max-width:34ch;font-size:clamp(1.6rem,3.3vw,2.4rem);letter-spacing:-.03em}
.oil-guide h3 {font-size:1.22rem;margin:.8rem 0 .4rem}
.oil-guide-columns {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem}
@media(max-width:700px){.oil-guide-columns {display:block}}

#order-extras {background:#fff7e6;border:1px solid #e6d1a2;border-radius:10px;padding:0 .65rem .35rem;min-width:0}
#order-extras legend {float:left;display:flex;align-items:center;justify-content:space-between;width:100%;margin:0;padding:.1rem 0}
#order-extras legend+p {clear:both;margin:0 0 .25rem;font-size:.9rem}
.extras-dismiss {width:32px;height:32px;border:0;border-radius:6px;background:transparent;color:#a51919;font-size:1.55rem;line-height:1}
.extras-dismiss:hover,.extras-dismiss:focus-visible {background:#fbe2dc}
#order-extras .extra-offer {display:grid;grid-template-columns:40px minmax(0,1fr) 4.6rem;align-items:center;gap:.45rem;margin:0;padding:.3rem 0}
.extra-offer+.extra-offer {border-top:1px solid #e6d1a2}
.extra-offer img {width:40px;height:40px;object-fit:contain;background:white;border-radius:4px}
.extra-offer span {grid-column:2;overflow-wrap:anywhere;line-height:1.2}
.extra-offer small {display:block}
.extra-offer select {grid-column:3}
#order-extras [data-extra-total] {margin:.2rem 0 0}
#order-extras [data-extra-total]:empty {display:none}
.street-picker {position:relative;min-width:0}
.street-picker label {display:block}
.street-picker [role="listbox"] {position:absolute;z-index:5;top:100%;left:0;right:0;overflow:auto;max-height:12rem;background:white;border:1px solid var(--line);border-radius:.375rem;box-shadow:0 .4rem 1rem #0002}
.street-picker [role="option"] {padding:.45rem .75rem;cursor:pointer}
.street-picker [role="option"]:hover,.street-picker [aria-selected="true"] {background:#f4efe4}
#order-review .review-payment {background:#146c43;border:1px solid #146c43;color:white;font-weight:700;text-decoration:none}
#order-review .review-payment:hover,#order-review .review-payment:focus-visible {background:#0f5233;border-color:#0f5233;color:white}
.tax-lookup {grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1rem;margin:.4rem 0}
.order-dialog .tax-lookup label {grid-column:1/-1;margin:0}
.tax-lookup .gold {justify-self:start;min-height:0;padding:.4rem .8rem}
@media(max-width:540px){.tax-lookup{column-gap:.5rem}}
.oil-consent {position:fixed;inset:auto 1rem 1rem;z-index:1100;max-width:52rem;max-height:85vh;overflow:auto;margin:auto;padding:1rem 1.25rem;background:#fff;color:#17221e;border:1px solid var(--line);border-radius:.7rem;box-shadow:0 .25rem 1.5rem #0003}
.oil-consent a,.shop-footer .oil-consent a {color:inherit;text-decoration:underline}
.oil-consent div {display:flex;flex-wrap:wrap;gap:.5rem}
.oil-consent .btn {color:#212529;border-color:#676e73;background:#fff}
.consent-settings {padding-block:.6rem}
.shop-footer #oil-cookie-settings {color:#27342f;background:#fff;border-color:#53615b}
.shop-footer #oil-cookie-settings:hover,.shop-footer #oil-cookie-settings:focus-visible {color:#fff;background:#33453c;border-color:#33453c}
.shop-footer #oil-cookie-settings:focus-visible {outline:3px solid #185a40;outline-offset:3px}

#vehicle-search {
    display:flex; align-items:center; justify-content:space-between; gap:12px;
    width:100%; min-height:62px; padding:10px clamp(16px,3vw,40px); margin:12px 0;
    border:0; border-radius:12px; color:white; text-align:left; font:inherit;
    font-weight:700; font-size:clamp(1rem,2vw,1.3rem); cursor:pointer;
    background:#382714 linear-gradient(90deg,rgba(23,19,14,.91),rgba(30,22,12,.32));
    background-image:linear-gradient(90deg,rgba(23,19,14,.91),rgba(30,22,12,.32)),url('assets/olajfurdo.webp');
    background-position:center; background-size:cover;
}
#vehicle-search span:last-child {font-size:1.75rem;line-height:1}
#vehicle-dialog {width:min(92vw,34rem);max-height:85vh;overflow:auto;padding:24px;border:0;border-radius:14px}
#vehicle-dialog::backdrop {background:rgb(0 0 0 / 55%)}
#vehicle-dialog form {float:right}
#vehicle-dialog form button {border:0;border-radius:6px;padding:4px 12px;font-size:1.3rem}
#vehicle-dialog label {display:block;margin:12px 0}
#vehicle-dialog [role=status]:empty,#vehicle-dialog ul:empty {display:none}
.card-meta {line-height:1.35}
.card-meta > p {margin:0!important}
[data-vehicle-category] > h2 {
    padding: .55rem .85rem;
    border-inline-start: .25rem solid #b58228;
    border-radius: .4rem;
    background: #f2e7d2;
    color: #302719;
}
[data-vehicle-category] > [data-group-filter] {
    width: auto;
    max-width: 100%;
    margin-bottom: .65rem;
}
[data-vehicle-category] [hidden] {display:none!important}
[data-group-filter].active {background-color:#e3f2e7;border-color:#228650}
.shop-footer .payment-logo {max-width:100%;height:auto}
.order-lookup {display:flex;flex-wrap:wrap;align-items:end;gap:.75rem}
.order-lookup label {width:min(100%,22rem)}
