/*
  MatKoz storefront v4
  A standalone visual layer for the public shop homepage. It deliberately owns
  the homepage layout so legacy catalog/admin styles cannot leak into it.
*/
:root{
  --mk-black:#171717;
  --mk-text:#161412;
  --mk-muted:#665f56;
  --mk-paper:#fff;
  --mk-warm:#faf8f5;
  --mk-line:#ece7e0;
  --mk-champagne:#f1cf9b;
}
/* The compact opening remains intact; the full catalogue continues below it. */
body.storefront-v4.storefront-home .full-catalog-section{display:block!important;margin:24px auto 0}
body.storefront-v4 .final-hero[data-slide="1"]>img,body.storefront-v4 .final-hero[data-slide="2"]>img,body.storefront-v4 .final-hero[data-slide="3"]>img,body.storefront-v4 .final-hero[data-slide="4"]>img{object-position:center top}
@media(max-width:700px){
 body.storefront-v4.storefront-home .full-catalog-section{margin:15px auto 0}
 body.storefront-v4 #produkty{padding-top:18px!important;padding-bottom:30px}
 body.storefront-v4 .catalog-toolbar{position:static!important;display:flex!important;flex-wrap:nowrap;align-items:center;min-height:43px;margin:0 0 12px;padding:5px 7px;gap:7px;border-radius:8px;box-shadow:none}
 body.storefront-v4 .mobile-filter-button{min-height:32px;padding:5px 8px;color:#211c18;font-size:11px;white-space:nowrap}
 body.storefront-v4 .mobile-menu-open,body.storefront-v4 .product-modal .close-modal{color:#211c18}
 body.storefront-v4 .catalog-result-count{display:block;min-width:0;margin-right:auto;font-size:10px;white-space:nowrap}
 body.storefront-v4 .catalog-sort{min-width:0;margin-left:auto;font-size:0}
 body.storefront-v4 .catalog-sort select{width:103px;max-width:103px;min-height:32px;padding:0 21px 0 6px;font-size:11px}
 body.storefront-v4 .products:has(>.product-card:only-child){grid-template-columns:minmax(0,1fr)!important;justify-items:center}
 body.storefront-v4 .products>.product-card:only-child{width:min(100%,280px)}
 body.storefront-v4 .final-hero[data-slide="4"]>img{object-position:67% top!important}
 body.storefront-v4 .product-modal .product-box{padding-bottom:calc(100px + env(safe-area-inset-bottom))!important;overflow-y:auto!important;touch-action:pan-y;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
 body.storefront-v4 .product-modal .product-mobile-buy{position:fixed!important;z-index:150;bottom:0;left:0;right:0;width:100%;margin:0!important;padding:9px 13px calc(9px + env(safe-area-inset-bottom))}
 body.storefront-v4.modal-open .mobile-nav{display:none!important}
 body.storefront-v4:not(.storefront-home) .final-footer{display:flex!important;flex-direction:column;align-items:center;gap:10px;min-height:0!important;height:auto!important;padding:20px 12px calc(72px + env(safe-area-inset-bottom))!important}
 body.storefront-v4:not(.storefront-home) .final-footer .footer-brand,body.storefront-v4:not(.storefront-home) .final-footer .footer-links,body.storefront-v4:not(.storefront-home) .final-footer .footer-social,body.storefront-v4:not(.storefront-home) .final-footer .footer-copy{position:static!important;transform:none!important;margin:0!important}
 body.storefront-v4:not(.storefront-home) .final-footer .footer-brand .brand-wordmark{font-size:18px!important}
}
body.storefront-v4{margin:0;background:var(--mk-paper);color:var(--mk-text);font-family:Arial,Helvetica,sans-serif}
body.storefront-v4 *,body.storefront-v4 *:before,body.storefront-v4 *:after{box-sizing:border-box}
body.storefront-v4 .hidden{display:none!important}
body.storefront-v4 .home-legacy-extra,
body.storefront-v4 .full-catalog-section,
body.storefront-v4 .active-campaigns{display:none!important}
body.storefront-v4:not(.storefront-home) .full-catalog-section{display:block!important}
body.storefront-v4:not(.storefront-home) .final-hero,
body.storefront-v4:not(.storefront-home) .categories-section,
body.storefront-v4:not(.storefront-home) .home-showcases,
body.storefront-v4:not(.storefront-home) .home-editorial,
body.storefront-v4:not(.storefront-home) .home-inspiration{display:none!important}

/* Header */
body.storefront-v4 .final-topbar{
  display:flex;align-items:center;height:32px;padding:0 clamp(28px,8vw,160px);
  background:var(--mk-black);color:#fff;font-size:10px;font-weight:700;
}
body.storefront-v4 .final-topbar>span{display:inline-flex;align-items:center;white-space:nowrap}
body.storefront-v4 .final-topbar>span+span{margin-left:clamp(42px,8vw,145px)}
body.storefront-v4 .final-topbar nav{display:flex;gap:25px;margin-left:auto}
body.storefront-v4 .final-topbar a{color:#fff;text-decoration:none}
body.storefront-v4 .header{position:relative;z-index:20;background:#fff;border:0;box-shadow:none}
body.storefront-v4 .head{
  display:grid;grid-template-columns:240px minmax(360px,1fr) 340px;align-items:center;gap:32px;
  width:calc(100% - clamp(48px,8vw,220px));max-width:1680px;height:64px;margin:0 auto;padding:0;
}
body.storefront-v4 .mobile-menu-open{display:none}
body.storefront-v4 .brand{display:block;color:var(--mk-text);text-decoration:none;line-height:1}
body.storefront-v4 .brand-wordmark{
  display:block;font-family:Georgia,"Times New Roman",serif;font-size:28px;font-weight:500;letter-spacing:7px;
}
body.storefront-v4 .brand-tagline{display:block;margin-top:4px;color:#6c655d;font-size:8px;letter-spacing:.7px}
body.storefront-v4 .search{
  display:flex;align-items:center;height:35px;overflow:hidden;border:0;border-radius:3px;background:#f4f4f3;
}
body.storefront-v4 .search input{
  width:100%;min-width:0;height:100%;padding:0 14px;border:0;outline:0;background:transparent;color:#24211e;font-size:11px;
}
body.storefront-v4 .search button{width:46px;height:35px;padding:0;border:0;background:transparent;color:#111;font-size:21px;cursor:pointer}
body.storefront-v4 .search-button-label{display:none}
body.storefront-v4 .actions{display:flex;align-items:center;justify-content:flex-end;gap:23px}
body.storefront-v4 .action{
  position:relative;display:flex;align-items:center;gap:6px;padding:0;border:0;background:transparent;
  color:#282421;font-size:11px;font-weight:700;text-decoration:none;white-space:nowrap;cursor:pointer;
}
body.storefront-v4 .action>span:first-child{font-size:22px;font-weight:400}
body.storefront-v4 .action small{display:block;color:#7b7269;font-size:8px;font-weight:400;line-height:1.2}
body.storefront-v4 .cart-action{display:grid;grid-template-columns:22px auto;column-gap:4px;text-align:left}
body.storefront-v4 .cart-action>span:first-child{grid-row:1 / 3}
body.storefront-v4 .cart-action small{grid-column:2}
body.storefront-v4 .count{
  position:absolute;top:-11px;left:14px;display:grid;place-items:center;width:16px;height:16px;
  border-radius:50%;background:#181818;color:#fff;font-size:9px;
}
body.storefront-v4 .nav{
  display:flex;justify-content:center;align-items:center;gap:0;width:calc(100% - clamp(48px,8vw,220px));
  max-width:1680px;height:39px;margin:0 auto;overflow:hidden;border-top:1px solid var(--mk-line);border-bottom:1px solid var(--mk-line);
}
body.storefront-v4 .nav a,body.storefront-v4 .nav button{
  height:38px;padding:0 clamp(9px,1vw,19px);border:0;background:transparent;color:#292521;
  font-size:10px;font-weight:700;white-space:nowrap;text-decoration:none;cursor:pointer;
}
body.storefront-v4 .nav button:nth-last-child(2){color:#9b7345}
body.storefront-v4 .nav button:last-child{color:#ae6461}

/* Shared wide page canvas */
body.storefront-v4 .final-hero,
body.storefront-v4 .categories-section,
body.storefront-v4 .home-showcases,
body.storefront-v4 .home-editorial,
body.storefront-v4 .home-inspiration,
body.storefront-v4 .store-values{
  width:calc(100% - clamp(48px,8vw,220px));max-width:1680px;margin-right:auto;margin-left:auto;
}

/* Hero carousel */
body.storefront-v4 .final-hero{
  position:relative;height:clamp(255px,19vw,365px);min-height:255px;margin-top:12px;overflow:hidden;border-radius:7px;background:#10100f;
}
body.storefront-v4 .final-hero>img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:brightness(.78);transition:opacity .15s ease;
}
body.storefront-v4 .final-hero:before{
  position:absolute;z-index:1;inset:0;content:"";background:linear-gradient(90deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.58) 34%,rgba(0,0,0,.08) 72%,rgba(0,0,0,.12));
}
body.storefront-v4 .final-hero .hero-copy{
  position:absolute!important;z-index:2;top:clamp(25px,3vw,50px);bottom:auto;left:clamp(56px,7vw,140px);width:min(390px,34%);height:auto;
  margin:0!important;padding:0!important;background:transparent!important;color:#fff;
}
body.storefront-v4 .final-hero .hero-copy>*{background:transparent!important}
body.storefront-v4 .final-hero .ey{margin:0 0 7px;color:#fff;font-size:10px;font-weight:800;letter-spacing:4px}
body.storefront-v4 .final-hero h1{
  max-width:390px;margin:0 0 10px;color:#fff;font-size:clamp(32px,3.2vw,52px);line-height:.98;letter-spacing:-2.4px;
}
body.storefront-v4 .final-hero p{max-width:330px;margin:0 0 13px;color:#fff;font-size:13px;line-height:1.3}
body.storefront-v4 .final-hero .btn{
  display:inline-flex;align-items:center;height:34px;padding:0 17px;border:0;border-radius:3px;background:var(--mk-champagne);
  color:#17130f;font-size:10px;font-weight:800;text-decoration:none;
}
body.storefront-v4 .hero-trust{display:flex;flex-wrap:wrap;gap:8px 21px;max-width:470px;margin-top:13px;color:#fff;font-size:9px;font-weight:700}
body.storefront-v4 .hero-arrow{
  position:absolute;z-index:3;top:50%;width:38px;height:38px;border:1px solid #ffffffbb;border-radius:50%;
  background:#1117;color:#fff;font-size:28px;line-height:1;transform:translateY(-50%);cursor:pointer;
}
body.storefront-v4 .hero-prev{left:20px}
body.storefront-v4 .hero-next{right:20px}
body.storefront-v4 .hero-dots{position:absolute;z-index:3;bottom:11px;left:50%;display:flex;gap:6px;transform:translateX(-50%)}
body.storefront-v4 .hero-dots button{width:8px;height:8px;padding:0;border:0;border-radius:99px;background:#fff9;cursor:pointer}
body.storefront-v4 .hero-dots button[aria-current="true"]{width:22px;background:var(--mk-champagne)}

/* Category cards */
body.storefront-v4 .categories-section{padding:0;background:transparent;border:0}
body.storefront-v4 .categories-section>.section-head{display:none}
body.storefront-v4 .categories{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin:9px 0 10px}
body.storefront-v4 .category{
  position:relative;display:block;height:clamp(145px,11.5vw,210px);overflow:hidden;border-radius:4px;color:#fff;text-decoration:none;
}
body.storefront-v4 .category:after{position:absolute;inset:0;content:"";background:linear-gradient(0deg,rgba(0,0,0,.76),rgba(0,0,0,.03) 72%)}
body.storefront-v4 .category img{display:block;width:100%;height:100%;object-fit:cover}
body.storefront-v4 .category .category-icon{
  position:absolute;z-index:1;top:13px;left:13px;display:grid;place-items:center;width:31px;height:31px;border:1px solid #fff9;
  border-radius:50%;background:#17171788;color:#fff;font-size:16px;
}
body.storefront-v4 .category b{
  position:absolute;z-index:1;right:12px;bottom:48px;left:12px;color:#fff;font-size:16px;line-height:1.02;white-space:normal;overflow-wrap:anywhere;
}
body.storefront-v4 .category small{
  position:absolute;z-index:1;right:12px;bottom:28px;left:12px;display:block;color:#fff;font-size:9px;line-height:1.2;white-space:normal;overflow-wrap:anywhere;
}
body.storefront-v4 .category i{position:absolute;z-index:1;bottom:11px;left:12px;color:#fff;font-size:10px;font-style:normal;font-weight:700}

/* Featured products */
body.storefront-v4 .home-showcases{padding:0;margin-top:0}
body.storefront-v4 .showcase-heading{display:flex;align-items:center;justify-content:space-between;margin:9px 5px 6px}
body.storefront-v4 .showcase-heading .ey{display:none}
body.storefront-v4 .showcase-heading h2{margin:0;color:#171513;font-size:20px;letter-spacing:-.7px}
body.storefront-v4 .show-all-products{border:0;background:transparent;color:#27221e;font-size:11px;font-weight:700;cursor:pointer}
body.storefront-v4 .showcase-grid,body.storefront-v4 .store-showcase{display:block;width:100%}
body.storefront-v4 .store-showcase{padding:10px;border-radius:15px;background:#f8f7f4}
body.storefront-v4 #featuredProducts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;width:100%}
body.storefront-v4 .showcase-card{display:flex;flex-direction:column;min-width:0;padding:9px;border:1px solid #eeece8;background:#fff}
body.storefront-v4 .showcase-product-open{display:block;width:100%;padding:0;border:0;background:#fff;cursor:pointer}
body.storefront-v4 .showcase-card img{display:block;width:100%;height:clamp(100px,8.4vw,150px);object-fit:contain}
body.storefront-v4 .showcase-card>div{display:flex;flex:1;flex-direction:column;min-height:0}
body.storefront-v4 .showcase-card>div>small{height:17px;margin-top:4px}
body.storefront-v4 .showcase-discount{display:inline-block;padding:2px 4px;border-radius:2px;background:#bd8f55;color:#fff;font-size:8px;font-style:normal}
body.storefront-v4 .showcase-card b{min-height:30px;color:#181614;font-size:10px;line-height:1.25}
body.storefront-v4 .showcase-card em{min-height:14px;color:#716962;font-size:9px;font-style:normal}
body.storefront-v4 .showcase-card em .stars{color:#e7ac00}
body.storefront-v4 .showcase-card em{display:flex;align-items:center;gap:3px;white-space:nowrap}
body.storefront-v4 .showcase-card em b{display:inline;min-height:0;margin:0;font-size:9px;line-height:1;font-weight:400}
body.storefront-v4 .showcase-card strong{margin:3px 0 6px;color:#151311;font-size:15px}
body.storefront-v4 .showcase-card del{color:#8e867f;font-size:9px;font-weight:400}
body.storefront-v4 .showcase-add{height:28px;margin-top:auto;border:0;border-radius:2px;background:#191918;color:#fff;font-size:9px;font-weight:700;cursor:pointer}
body.storefront-v4 .showcase-add:before{content:"🛒  "}

/* Editorial / inspiration */
body.storefront-v4 .home-editorial{margin-top:14px;margin-bottom:10px}
body.storefront-v4 .editorial-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:calc(100% - 9%);margin:auto}
body.storefront-v4 .editorial-card{position:relative;height:clamp(130px,11.2vw,205px);overflow:hidden;background:#efe1ca;border-radius:3px}
body.storefront-v4 .editorial-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body.storefront-v4 .editorial-card:after{position:absolute;inset:0;content:"";background:linear-gradient(90deg,rgba(255,244,226,.97),rgba(255,244,226,.79) 50%,rgba(255,244,226,.08))}
body.storefront-v4 .editorial-card>div{position:relative;z-index:1;padding:clamp(16px,1.8vw,28px)}
body.storefront-v4 .editorial-card small{display:block;margin-bottom:4px;color:#493d32;font-size:9px;font-weight:800;letter-spacing:2px}
body.storefront-v4 .editorial-card h2{margin:0 0 8px;color:#15120e;font-size:clamp(20px,2vw,32px);line-height:.98;letter-spacing:-1px}
body.storefront-v4 .editorial-card p{margin:0 0 10px;color:#40362d;font-size:11px;line-height:1.25}
body.storefront-v4 .editorial-card .btn{display:inline-flex;align-items:center;height:30px;padding:0 12px;border-radius:2px;background:#efc783;color:#18130d;font-size:10px;font-weight:800;text-decoration:none}
body.storefront-v4 .editorial-badge{
  position:absolute;z-index:2;top:11px;right:13px;display:grid;place-items:center;width:52px;height:52px;border:2px solid #fff2dd;
  border-radius:50%;background:#f0cc8c;color:#18120d;font-size:10px;line-height:1;text-align:center;
}
body.storefront-v4 .editorial-badge b{font-size:19px}
body.storefront-v4 .home-inspiration{margin-bottom:8px}
body.storefront-v4 .inspiration-heading h2{margin:0;color:#171513;font-size:18px}
body.storefront-v4 .inspiration-heading p{margin:2px 0 6px;color:#625b54;font-size:10px}
body.storefront-v4 .inspiration-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
body.storefront-v4 .inspiration-card{position:relative;height:clamp(68px,5.8vw,105px);overflow:hidden;border-radius:2px;text-decoration:none}
body.storefront-v4 .inspiration-card:after{position:absolute;inset:0;content:"";background:linear-gradient(0deg,rgba(0,0,0,.66),transparent 72%)}
body.storefront-v4 .inspiration-card img{display:block;width:100%;height:100%;object-fit:cover}
body.storefront-v4 .inspiration-card b{position:absolute;z-index:1;bottom:7px;left:8px;color:#fff;font-size:9px}

/* Light footer, as in the reference */
body.storefront-v4 .store-values{
  display:grid;grid-template-columns:repeat(6,1fr);margin-top:0;background:#fff;border-top:1px solid var(--mk-line);
}
body.storefront-v4 .store-values article{
  display:flex;align-items:center;gap:9px;min-height:58px;padding:8px;border-right:1px solid var(--mk-line);
}
body.storefront-v4 .store-values article:last-child{border-right:0}
body.storefront-v4 .store-value-number{font-size:19px}
body.storefront-v4 .store-values strong{font-size:9px;line-height:1.2}
body.storefront-v4 .final-footer{
  display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;min-height:115px!important;
  margin:0!important;padding:22px clamp(28px,6vw,120px)!important;background:#fff!important;color:#4b443d!important;border:0!important;
}
body.storefront-v4 .final-footer *{color:#4b443d!important}
body.storefront-v4 .final-footer .footer-links{justify-content:flex-start!important}
body.storefront-v4 .final-footer .footer-brand{justify-self:center!important;text-align:center!important}
body.storefront-v4 .final-footer .footer-social{justify-content:flex-end!important}
body.storefront-v4 .final-footer .footer-brand .brand-wordmark{font-size:20px!important}
body.storefront-v4 .cookie-settings{z-index:120!important}

@media(min-width:701px) and (max-width:1100px){
  body.storefront-v4 .head{grid-template-columns:190px minmax(260px,1fr) auto;gap:16px}
  body.storefront-v4 .actions{gap:12px}
  body.storefront-v4 .account-link>span:last-child{font-size:0}
  body.storefront-v4 .final-hero .hero-copy{left:74px;width:330px}
  body.storefront-v4 .final-hero h1{font-size:37px}
  body.storefront-v4 .category b{font-size:13px}
}

/* Consent banner keeps all choices available until a decision is recorded. */
body.storefront-v4 #mkConsentBanner{z-index:130}
body.storefront-v4 #mkConsentManage{position:static;display:inline-flex;width:auto;min-height:0;padding:0;border:0;background:transparent;box-shadow:none;color:inherit;font-size:10px;transform:none}
body.storefront-v4 .mobile-menu-legal #mkConsentManage{display:block;margin-top:10px;padding:8px 0;font-size:12px;text-align:left}
@media(max-width:700px){body.storefront-v4 #mkConsentBanner{bottom:calc(52px + env(safe-area-inset-bottom));max-width:100%;}}

/* Footer spacing is explicit so no legacy footer declarations collapse its links. */
body.storefront-v4 .final-footer .footer-links,
body.storefront-v4 .final-footer .footer-social{display:flex!important;align-items:center!important;gap:18px!important}
body.storefront-v4 .final-footer .footer-links a,
body.storefront-v4 .final-footer .footer-social a{display:inline-block!important;font-size:10px!important;text-decoration:none!important;white-space:nowrap!important}
body.storefront-v4 .final-footer .footer-copy{grid-column:1!important;margin:9px 0 0!important;font-size:9px!important}
@media(max-width:700px){
 body.storefront-v4 .final-footer .footer-links{align-items:flex-start!important;gap:11px!important;max-width:120px!important}
 body.storefront-v4 .final-footer .footer-links a{white-space:normal!important;font-size:10px!important;line-height:1.35!important}
 body.storefront-v4 .final-footer .footer-social{gap:14px!important}
 body.storefront-v4 .final-footer .footer-copy{grid-column:1/-1!important;margin-top:0!important;font-size:9px!important}
}

/* Reference footer geometry: links left, wordmark centered, social links right. */
body.storefront-v4 .store-values{color:#302a25!important}
body.storefront-v4 .store-values article{
  color:#302a25!important;justify-content:center;min-width:0;padding:8px 13px!important;
}
body.storefront-v4 .store-values strong{
  display:block!important;margin:0!important;color:#302a25!important;font-size:10px!important;font-weight:700!important;line-height:1.25!important;
}
body.storefront-v4 .store-value-number{color:#aa7d48!important}
body.storefront-v4 .final-footer{
  grid-template-columns:1fr auto 1fr!important;grid-template-rows:auto auto!important;min-height:145px!important;
}
body.storefront-v4 .final-footer .footer-links{
  grid-column:1!important;grid-row:1!important;justify-self:start!important;justify-content:flex-start!important;
}
body.storefront-v4 .final-footer .footer-brand{
  grid-column:2!important;grid-row:1!important;justify-self:center!important;
}
body.storefront-v4 .final-footer .footer-social{
  grid-column:3!important;grid-row:1!important;justify-self:end!important;justify-content:flex-end!important;
}
body.storefront-v4 .final-footer .footer-copy{
  grid-column:1!important;grid-row:2!important;justify-self:start!important;align-self:end!important;
}
body.storefront-v4 .product-card,body.storefront-v4 .showcase-card{position:relative}
body.storefront-v4 .product-favorite{position:absolute;z-index:4;top:9px;right:9px;display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #e5ddd2;border-radius:50%;background:#fff;color:#24201d;box-shadow:0 2px 9px #0002;cursor:pointer}
body.storefront-v4 .product-favorite svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
body.storefront-v4 .product-favorite.is-favorite{color:#ad665e;border-color:#ad665e}
body.storefront-v4 .product-favorite.is-favorite svg{fill:currentColor}
body.storefront-v4 .product-favorite:focus-visible{outline:3px solid #a97b49;outline-offset:2px}
body.storefront-v4 .product-main-wrap,body.storefront-v4 .similar-product{position:relative}
body.storefront-v4 .product-detail-favorite{top:12px;right:12px}
body.storefront-v4 .similar-product .product-favorite{top:6px;right:6px;width:28px;height:28px}
@media(max-width:700px){body.storefront-v4 .showcase-card .product-favorite{top:4px;right:4px;width:25px;height:25px}body.storefront-v4 .showcase-card .product-favorite svg{width:15px;height:15px}}
@media(max-width:700px){
  body.storefront-v4 .store-values{display:none!important}
  body.storefront-v4 .final-footer{grid-template-rows:auto auto auto!important}
  body.storefront-v4 .final-footer .footer-brand{grid-column:1/-1!important;grid-row:1!important}
  body.storefront-v4 .final-footer .footer-links{grid-column:1!important;grid-row:2!important}
  body.storefront-v4 .final-footer .footer-social{grid-column:2!important;grid-row:2!important}
  body.storefront-v4 .final-footer .footer-copy{grid-column:1/-1!important;grid-row:3!important}
}

/* Compact desktop category navigation — neutralise the legacy 50px menu strip. */
@media(min-width:701px){
  body.storefront-v4 .nav{
    height:40px!important;min-height:40px!important;padding:0!important;
    border-top:1px solid #eee9e2!important;border-bottom:1px solid #eee9e2!important;
  }
  body.storefront-v4 .nav a,
  body.storefront-v4 .nav button{
    display:flex!important;align-items:center!important;height:38px!important;min-height:38px!important;
    padding:0 clamp(10px,1.1vw,20px)!important;line-height:1!important;
  }
}

/* Recognisable social icons in the storefront footer. */
body.storefront-v4 .final-footer .footer-social a{display:inline-grid!important;place-items:center!important;width:22px!important;height:22px!important;color:#332b24!important;font-weight:800!important}
body.storefront-v4 .final-footer .footer-social svg{width:15px!important;height:15px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body.storefront-v4 .final-footer .footer-social svg path{fill:currentColor!important;stroke:none!important}.social-fill{fill:currentColor!important;stroke:none!important}
/* Administrator-controlled storefront design tokens. */
body.storefront-v4{background:var(--storefront-bg,#f7f5f1)!important;color:var(--storefront-text,#171513)}
body.storefront-v4 .final-hero,body.storefront-v4 .category,body.storefront-v4 .editorial-card,body.storefront-v4 .inspiration-card{border-radius:var(--storefront-card-radius,14px)!important}
body.storefront-v4 .final-hero:before{background:linear-gradient(90deg,rgba(0,0,0,var(--storefront-hero-overlay,.58)) 0%,rgba(0,0,0,.42) 38%,rgba(0,0,0,.08) 72%,rgba(0,0,0,.12))!important}
body.storefront-v4 .store-showcase,body.storefront-v4 .showcase-card,body.storefront-v4 .final-footer{background:var(--storefront-surface,#fff)!important}
body.storefront-v4 .showcase-card,body.storefront-v4 .store-showcase{border-radius:var(--storefront-card-radius,14px)!important}
body.storefront-v4 .showcase-card img{object-fit:var(--storefront-product-fit,contain)!important;image-rendering:auto}
body.storefront-v4 .showcase-card b,body.storefront-v4 .showcase-card strong,body.storefront-v4 .showcase-card em,body.storefront-v4 .showcase-heading h2,body.storefront-v4 .inspiration-heading h2{color:var(--storefront-text,#171513)!important}
@media(min-width:701px){body.storefront-v4:not(.storefront-contained) .final-hero,body.storefront-v4:not(.storefront-contained) .categories-section,body.storefront-v4:not(.storefront-contained) .home-showcases,body.storefront-v4:not(.storefront-contained) .home-editorial,body.storefront-v4:not(.storefront-contained) .home-inspiration,body.storefront-v4:not(.storefront-contained) .store-values{width:calc(100% - clamp(40px,4vw,120px));max-width:none}}

/* Mobile homepage geometry measured against the 390px target reference. */
body.storefront-v4 .final-topbar svg,
body.storefront-v4 .mobile-menu-open svg,
body.storefront-v4 .search svg,
body.storefront-v4 .actions svg,
body.storefront-v4 .category-icon svg,
body.storefront-v4 .mobile-nav svg{
  width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round;flex:none;
}
body.storefront-v4 .final-topbar>span{gap:5px}
body.storefront-v4 .final-topbar svg{width:15px;height:15px}
body.storefront-v4 .search svg{width:16px;height:16px}
body.storefront-v4 .actions svg{width:23px;height:23px}
body.storefront-v4 .category-icon svg{width:17px;height:17px}
body.storefront-v4 .mobile-nav svg{width:20px;height:20px}
body.storefront-v4 .showcase-add:before{content:"";display:none}
body.storefront-v4 .account-link svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
@media(min-width:701px){
 body.storefront-v4 .final-hero .hero-copy{top:25px;width:min(480px,40%)}
 body.storefront-v4 .final-hero h1{max-width:480px;font-size:clamp(31px,2.65vw,39px);line-height:1}
 body.storefront-v4 .final-hero p{margin-bottom:10px}
 body.storefront-v4 .final-hero .hero-trust{display:none}
}
@media(max-width:700px){
 body.storefront-v4{padding-bottom:calc(56px + env(safe-area-inset-bottom));overflow-x:clip;background:#fff!important}
 body.storefront-v4 .final-topbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));height:22px;padding:0 6px;gap:2px;font-size:6.8px;font-weight:500}
 body.storefront-v4 .final-topbar>span{justify-content:center;gap:3px;min-width:0;white-space:nowrap}
 body.storefront-v4 .final-topbar>span+span{margin-left:0}
 body.storefront-v4 .final-topbar svg{width:13px;height:13px}
 body.storefront-v4 .final-topbar nav{display:none}
 body.storefront-v4 .header{border:0}
 body.storefront-v4 .head{display:block;width:100%;height:76px;margin:0;padding:0!important}
 body.storefront-v4 .mobile-menu-open{top:6px;left:10px;width:31px;height:36px;display:grid;place-items:center}
 body.storefront-v4 .mobile-menu-open svg{width:21px;height:21px}
 body.storefront-v4 .brand{position:absolute;top:6px;left:50%;width:152px;max-width:152px!important;transform:translateX(-50%);text-align:center}
 body.storefront-v4 .brand-wordmark{font-size:20px;letter-spacing:5px}
 body.storefront-v4 .brand-tagline{margin-top:3px;font-size:6px;letter-spacing:.5px}
 body.storefront-v4 .actions{position:absolute;top:7px;right:10px;width:75px;gap:3px!important}
 body.storefront-v4 .account-link{display:none!important}
 body.storefront-v4 .favourites-link,body.storefront-v4 .cart-action{display:grid!important;width:32px;min-width:32px;height:32px;min-height:32px;place-items:center;padding:0}
 body.storefront-v4 .actions #cartOpen{display:grid!important;min-width:32px;min-height:32px;padding:0!important}
 body.storefront-v4 .favourites-link>span,body.storefront-v4 .cart-action>span{display:none}
 body.storefront-v4 .cart-action{grid-template-columns:none!important}
 body.storefront-v4 .cart-action small{display:block;position:absolute;top:28px;right:-2px;color:#111;font-size:7px;font-weight:700}
 body.storefront-v4 .count{top:-5px;left:20px;width:14px;height:14px;font-size:8px}
 body.storefront-v4 .search{position:absolute;top:43px;right:7px;left:7px;width:auto;height:29px;min-height:29px!important;margin:0!important;border:0;border-radius:7px;background:#f3f3f3}
 body.storefront-v4 .search input{padding:0 8px;font-size:10px!important;min-width:0}
 body.storefront-v4 .search button{order:-1;width:31px!important;height:29px;min-width:31px!important;margin:0}
 body.storefront-v4 .nav{display:none!important}
 body.storefront-v4 .final-hero,body.storefront-v4 .categories-section,body.storefront-v4 .home-showcases,body.storefront-v4 .home-editorial{width:calc(100% - 14px);max-width:none}
 body.storefront-v4 .final-hero{height:133px;min-height:133px;margin:4px auto 0!important;border-radius:5px!important}
 body.storefront-v4 .final-hero>img{height:100%!important;min-height:0!important;object-position:59% center;filter:none}
 body.storefront-v4 .final-hero:before{background:linear-gradient(90deg,rgba(0,0,0,.58),rgba(0,0,0,.2) 53%,transparent 85%)!important}
 body.storefront-v4 .final-hero .hero-copy{top:13px!important;left:16px!important;width:230px!important}
 body.storefront-v4 .final-hero .ey{margin-bottom:5px;font-size:8px;letter-spacing:2.8px}
 body.storefront-v4 .final-hero h1{max-width:230px;margin:0 0 4px;font-size:18px!important;letter-spacing:-.55px!important;line-height:1.02}
 body.storefront-v4 .final-hero h1{white-space:pre-line}
 body.storefront-v4 .final-hero p{max-width:190px;margin:0 0 5px;font-size:8px;line-height:1.18}
 body.storefront-v4 .final-hero .hero-actions{display:block;width:max-content;max-width:100%}
 body.storefront-v4 .final-hero .btn{width:auto;height:21px;min-height:21px;padding:0 8px;font-size:7px;border-radius:2px}
 body.storefront-v4 .hero-trust,body.storefront-v4 .hero-arrow{display:none}
 body.storefront-v4 .hero-dots{bottom:5px;gap:5px}
 body.storefront-v4 .hero-dots button,body.storefront-v4 .hero-dots button[aria-current="true"]{width:6px;height:6px;background:#fff}
 body.storefront-v4 .hero-dots button:not([aria-current="true"]){opacity:.55}
 body.storefront-v4 .categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:7px 0 9px}
 body.storefront-v4 .category{height:102px;min-width:0;border-radius:4px!important}
 body.storefront-v4 .category img{object-fit:cover}
 body.storefront-v4 .category:nth-child(1) img{object-position:72% center}
 body.storefront-v4 .category:nth-child(6) img{object-position:67% center}
 body.storefront-v4 .category:after{background:linear-gradient(0deg,rgba(0,0,0,.72),rgba(0,0,0,.05) 90%)}
 body.storefront-v4 .category .category-icon{top:9px;left:8px;width:24px;height:24px;margin:0;border:1px solid #fff9;background:#16161666}
 body.storefront-v4 .category b{right:7px;bottom:29px;left:8px;max-width:105px;margin:0;padding:0;font-size:11px;line-height:1.03;overflow-wrap:normal}
 body.storefront-v4 .category small{display:none}
 body.storefront-v4 .category i{bottom:6px;left:8px;display:inline-flex;align-items:center;min-height:19px;padding:2px 6px;border-radius:2px;background:#ffe4bc;color:#17120e;font-size:8px;font-weight:700}
 body.storefront-v4 .home-showcases{padding:0;margin:0 auto}
 body.storefront-v4 .showcase-heading{display:flex;align-items:center;justify-content:space-between;gap:4px;margin:0 0 5px}
 body.storefront-v4 .showcase-heading h2{margin:0;font-size:16px;letter-spacing:-.35px;white-space:nowrap}
 body.storefront-v4 .show-all-products{padding:0;font-size:8px;font-weight:500;white-space:nowrap}
 body.storefront-v4 .store-showcase{padding:0;background:transparent!important;box-shadow:none;border:0}
 body.storefront-v4 #featuredProducts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;overflow:visible}
 body.storefront-v4 .showcase-card:nth-child(n+4){display:none}
 body.storefront-v4 .showcase-card{display:flex;flex-direction:column;min-width:0;height:163px;padding:5px;border:1px solid #e9e6e2;border-radius:5px!important;box-shadow:none;overflow:hidden}
 body.storefront-v4 .showcase-product-open{height:71px;flex:none}
 body.storefront-v4 .showcase-card img{display:block;width:100%;height:71px;object-fit:contain!important;background:#fff;border-radius:0}
 body.storefront-v4 .showcase-card>div{display:flex;flex:1;flex-direction:column;min-height:0}
 body.storefront-v4 .showcase-card>div>small{height:9px;margin:0;overflow:visible}
 body.storefront-v4 .showcase-discount{position:relative;top:-70px;padding:2px 3px;border-radius:2px;font-size:6px;line-height:1}
 body.storefront-v4 .showcase-card b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-height:22px;max-height:22px;overflow:hidden;margin:0;color:#171717;font-size:8.5px;line-height:1.12}
 body.storefront-v4 .showcase-card em{min-height:12px;font-size:8px;white-space:nowrap}
 body.storefront-v4 .showcase-card em .stars{color:#eba900}
 body.storefront-v4 .showcase-card em .product-rating-stars{font-size:0;color:#e8a700}
 body.storefront-v4 .showcase-card em .product-rating-stars:before{content:"★";font-size:10px}
 body.storefront-v4 .showcase-card em b{display:inline;min-height:0;font-size:8px;font-weight:400}
 body.storefront-v4 .showcase-card strong{margin:0 0 3px;font-size:11px;line-height:1.1}
 body.storefront-v4 .showcase-add{width:100%;height:21px;min-height:21px;margin-top:auto;border-radius:2px;font-size:7px;white-space:nowrap}
 body.storefront-v4 .home-editorial{margin-top:7px;margin-bottom:0}
 body.storefront-v4 .editorial-grid{display:grid;grid-template-columns:1fr;gap:6px;width:100%;margin:0}
 body.storefront-v4 .editorial-card{height:104px;min-height:104px;border-radius:4px!important}
 body.storefront-v4 .editorial-card:nth-child(2){height:82px;min-height:82px}
 body.storefront-v4 .editorial-card>img{width:100%;height:100%;object-fit:cover;object-position:center}
 body.storefront-v4 .editorial-card:after{background:linear-gradient(90deg,#fff7eddf,#fff6e8a0 38%,transparent 68%)}
 body.storefront-v4 .editorial-card>div{padding:9px 15px}
 body.storefront-v4 .editorial-card small{margin-bottom:3px;font-family:Georgia,serif;font-size:7px;font-weight:500;letter-spacing:2px}
 body.storefront-v4 .editorial-card h2{max-width:165px;margin:0 0 3px;font-size:14px;line-height:1.02;letter-spacing:-.3px}
 body.storefront-v4 .editorial-card p{max-width:167px;margin:0 0 4px;font-size:8px;line-height:1.1}
 body.storefront-v4 .editorial-card .btn{height:19px;min-height:19px;padding:0 8px;font-size:7px;border-radius:2px}
 body.storefront-v4 .editorial-card:nth-child(2) small{display:none}
 body.storefront-v4 .editorial-card:nth-child(2) h2{font-size:14px;margin-bottom:5px}
 body.storefront-v4 .editorial-badge{top:7px;right:17px;width:40px;height:40px;font-size:8px}
 body.storefront-v4 .editorial-badge b{font-size:15px}
 body.storefront-v4.storefront-home .home-inspiration,body.storefront-v4.storefront-home .store-values,body.storefront-v4.storefront-home .final-footer{display:none!important}
 body.storefront-v4 .mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:calc(50px + env(safe-area-inset-bottom));padding:4px 4px calc(4px + env(safe-area-inset-bottom));box-shadow:none;background:#fff;z-index:100}
 body.storefront-v4 .mobile-nav a,body.storefront-v4 .mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;padding:0;color:#171717;font-size:0;text-decoration:none}
 body.storefront-v4 .mobile-nav span{font-size:8px;font-weight:400}
 body.storefront-v4 .mobile-nav .active{color:#ae814d}
 body.storefront-v4 .mobile-nav b{top:0;right:19%;font-size:7px;padding:1px 4px}
}

/* Footer follows the catalog, with the existing MK mark and usable legal links. */
body.storefront-v4.storefront-home .final-footer,
body.storefront-v4:not(.storefront-home) .final-footer{
 position:relative;display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;grid-template-rows:auto auto!important;
 align-items:center;width:calc(100% - 84px);max-width:1680px;min-height:100px!important;height:auto!important;
 margin:28px auto 0!important;padding:18px 4px 24px!important;gap:5px 20px;border-top:1px solid #eae5df!important;background:#fff!important;
}
body.storefront-v4 .final-footer .footer-brand{
 position:static!important;grid-column:2;grid-row:1/3;justify-self:center;display:grid;justify-items:center;
 transform:none!important;text-align:center;
}
body.storefront-v4 .final-footer .footer-brand img{display:block;width:220px;height:auto;max-width:100%;object-fit:contain}
body.storefront-v4 .final-footer .footer-brand p{margin:2px 0 0!important;color:#726a60!important;font-size:10px;line-height:1.3}
body.storefront-v4 .final-footer .footer-links{
 position:static!important;grid-column:3!important;grid-row:1!important;justify-self:end!important;
 justify-content:flex-end!important;flex-wrap:wrap;gap:12px!important;transform:none!important;
}
body.storefront-v4 .final-footer .footer-links a{font-size:11px!important;font-weight:600;color:#453c33!important}
body.storefront-v4 .final-footer .footer-social{
 position:static!important;grid-column:3!important;grid-row:2!important;justify-self:end!important;
 justify-content:flex-end!important;gap:13px!important;transform:none!important;
}
body.storefront-v4 .final-footer .footer-social a{width:29px!important;height:29px!important;border-radius:50%;color:#211e1a!important}
body.storefront-v4 .final-footer .footer-social svg{width:21px!important;height:21px!important}
/* A product image keeps its full source frame at every point of purchase. */
body.storefront-v4 .product-card>img,
body.storefront-v4 .showcase-card img,
body.storefront-v4 .product-main-button img,
body.storefront-v4 .product-thumb img,
body.storefront-v4 .similar-card img{object-fit:contain!important;object-position:center!important;background:#fff!important}
body.storefront-v4 .final-footer .footer-social a[aria-disabled="true"]{opacity:.48;cursor:default}
body.storefront-v4 .final-footer .footer-copy{
 position:static!important;grid-column:1!important;grid-row:2!important;align-self:center;
 margin:0!important;color:#68615a!important;font-size:10px!important;transform:none!important;
}
@media(max-width:700px){
 body.storefront-v4.storefront-home .final-footer,
 body.storefront-v4:not(.storefront-home) .final-footer{
  display:flex!important;flex-direction:column;align-items:center;width:calc(100% - 28px);min-height:0!important;
  height:auto!important;margin:15px auto 0!important;padding:19px 8px 18px!important;gap:12px;
 }
 body.storefront-v4 .final-footer .footer-brand,
 body.storefront-v4:not(.storefront-home) .final-footer .footer-brand{position:static!important;transform:none!important}
 body.storefront-v4 .final-footer .footer-brand img{width:190px}
 body.storefront-v4 .final-footer .footer-links,
 body.storefront-v4:not(.storefront-home) .final-footer .footer-links{
  position:static!important;justify-self:center!important;justify-content:center!important;
  align-items:center!important;max-width:none!important;gap:11px!important;transform:none!important;
 }
 body.storefront-v4 .final-footer .footer-links a{font-size:10px!important;white-space:nowrap!important}
 body.storefront-v4 .final-footer .footer-social,
 body.storefront-v4:not(.storefront-home) .final-footer .footer-social{
  position:static!important;justify-self:center!important;justify-content:center!important;gap:16px!important;
 }
 body.storefront-v4 .final-footer .footer-copy,
 body.storefront-v4:not(.storefront-home) .final-footer .footer-copy{position:static!important;order:4;margin:0!important;text-align:center;font-size:9px!important}
}

