/*
 * Liska storefront refresh
 * Editorial restraint inspired by craft-led retail, layered over the existing
 * commerce application without changing cart, checkout or account logic.
 */

body:not(.admin){
  --surface:#fbf9f6;
  --surface-soft:#f2ede7;
  --pink2:#f4eee8;
  --line:#ded6cd;
  --ink:#2c2825;
  --muted:#756f69;
  --footer:#1f1b19;
  --footer-text:#f8f3ed;
  --shadow:none;
  --shadow-card:none;
  --shadow-soft:none;
  background:var(--surface);
}

:root[data-theme="dark"] body:not(.admin){
  --surface:#171513;
  --surface-soft:#211e1a;
  --pink2:#25211d;
  --line:#3b352e;
  --ink:#f5efe8;
  --muted:#b8afa6;
  --footer:#0e0d0c;
  --footer-text:#f7f1e9;
}

body:not(.admin) .container{width:min(1240px,calc(100% - 64px))}
body:not(.admin) .section{padding:110px 0}

/* Header */
.site-ribbon{
  min-height:34px;
  display:flex;
  align-items:center;
  border-bottom:1px solid color-mix(in srgb,var(--line) 78%,transparent);
  background:var(--surface-soft);
  color:var(--muted);
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.site-ribbon-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  text-align:center;
}
.site-ribbon-dot{width:3px;height:3px;border-radius:50%;background:var(--gold);flex:0 0 auto}
.site-header{
  background:color-mix(in srgb,var(--surface) 95%,transparent);
  border-bottom:1px solid color-mix(in srgb,var(--line) 85%,transparent);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.site-header.is-scrolled,
:root[data-theme="dark"] .site-header.is-scrolled{box-shadow:0 10px 32px rgba(32,26,22,.06)}
.nav-wrap{height:90px;gap:34px}
.brand{min-width:154px;justify-content:flex-start}
.brand img,
.brand:hover img{
  width:150px;
  height:auto;
  max-height:72px;
  object-fit:contain;
  border-radius:0;
  transform:none!important;
  filter:none!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
.nav-wrap nav{gap:34px;font-size:13px;letter-spacing:.04em}
.nav-wrap nav a::after{bottom:-10px;height:1px;border-radius:0}
.nav-actions{gap:13px}
.account-link{font-weight:400;font-size:13px}
.cart-link{font-size:13px;letter-spacing:.04em}
.cart-link span{width:22px;height:22px;background:var(--ink);color:var(--surface);font-size:11px}
.theme-toggle{
  min-width:38px;
  min-height:38px;
  padding:8px 10px;
  border-radius:50%;
  border-color:var(--line);
  background:transparent;
  font-weight:400;
}
.theme-toggle:hover{transform:none;background:var(--surface-soft)}
.theme-toggle-icon{width:15px;height:15px}

/* Global editorial type + controls */
body:not(.admin) .eyebrow{
  color:var(--muted);
  font-size:10px;
  letter-spacing:.24em;
  font-weight:400;
}
body:not(.admin) .btn{
  min-height:48px;
  padding:14px 24px;
  border-radius:2px;
  box-shadow:none!important;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:11px;
  font-weight:400;
}
body:not(.admin) .btn:hover{transform:none;background:var(--gold-strong);border-color:var(--gold-strong)}
body:not(.admin) .btn.alt{background:transparent;border-color:var(--ink)}
body:not(.admin) .btn.alt:hover{background:var(--ink);border-color:var(--ink);color:var(--surface)}

.editorial-link{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding-bottom:5px;
  border-bottom:1px solid currentColor;
  font-size:12px;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.editorial-link:hover{color:var(--gold-strong)}

/* Home hero */
.home-hero{
  min-height:720px;
  display:block;
  padding:0;
  text-align:left;
  background:#1b1714;
}
.home-hero .hero-overlay{
  background:
    linear-gradient(90deg,rgba(19,15,13,.76) 0%,rgba(19,15,13,.42) 44%,rgba(19,15,13,.12) 72%,rgba(19,15,13,.25) 100%),
    linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.35));
}
:root[data-theme="dark"] .home-hero .hero-overlay{
  background:
    linear-gradient(90deg,rgba(8,7,6,.82) 0%,rgba(8,7,6,.48) 46%,rgba(8,7,6,.18) 75%,rgba(8,7,6,.34) 100%),
    linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.42));
}
.home-hero-shell{
  min-height:720px;
  display:flex;
  align-items:flex-end;
  padding-top:130px;
  padding-bottom:96px;
}
.home-hero-content{max-width:650px;color:#fff}
.home-hero .eyebrow{color:#f1c45c;margin-bottom:20px}
.home-hero h1{
  max-width:640px;
  margin:0;
  color:#fff;
  font-size:clamp(58px,7vw,104px);
  line-height:.91;
  letter-spacing:-.035em;
  text-wrap:balance;
}
.home-hero p{
  max-width:510px;
  margin:28px 0 0;
  color:rgba(255,255,255,.86)!important;
  text-shadow:none!important;
  animation:none!important;
  font-size:17px;
  line-height:1.7;
}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:34px}
.home-hero .btn.alt{border-color:rgba(255,255,255,.7);color:#fff}
.home-hero .btn.alt:hover{background:#fff;border-color:#fff;color:#241e1a}
.hero-note{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:34px;
  color:rgba(255,255,255,.72);
  font-size:11px;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.hero-note-line{width:38px;height:1px;background:rgba(255,255,255,.5)}

/* Editorial section headings */
.editorial-section{padding:118px 0}
.editorial-heading{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);
  align-items:end;
  gap:48px;
  margin-bottom:46px;
}
.editorial-heading h2,
.shop-hero h1,
.story-copy h2{
  margin:8px 0 0;
  font-size:clamp(44px,5.4vw,72px);
  line-height:.98;
  letter-spacing:-.025em;
  font-weight:400;
}
.editorial-heading p{
  max-width:500px;
  margin:0;
  color:var(--muted);
  line-height:1.8;
  font-size:15px;
}

/* Collection mosaic */
.collection-mosaic{
  display:grid;
  grid-template-columns:1.25fr .75fr;
  grid-template-rows:repeat(2,minmax(250px,1fr));
  gap:14px;
  min-height:680px;
}
.collection-tile{
  position:relative;
  overflow:hidden;
  min-height:250px;
  background:var(--surface-soft);
  isolation:isolate;
}
.collection-tile:first-child{grid-row:1 / span 2}
.collection-tile img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .65s cubic-bezier(.2,.6,.2,1);
  z-index:-2;
}
.collection-tile::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 35%,rgba(20,16,13,.64));
  z-index:-1;
}
.collection-tile:hover img{transform:scale(1.025)}
.collection-tile-copy{
  position:absolute;
  left:28px;
  right:28px;
  bottom:26px;
  color:#fff;
}
.collection-tile-copy span{font-size:10px;letter-spacing:.2em;text-transform:uppercase;opacity:.78}
.collection-tile-copy h3{margin:7px 0 0;font-size:clamp(30px,3vw,46px);line-height:1;font-weight:400}

/* Product cards */
.featured-products-section{padding-top:112px!important;padding-bottom:112px!important}
.featured-products-section .section-head,
.shop-page .section-head{margin-bottom:40px}
.featured-products-section .section-head h2{font-size:clamp(40px,4.5vw,60px);line-height:1}
.product-grid{gap:18px}
.product-card{
  position:relative;
  border:0;
  border-radius:0;
  overflow:visible;
  background:transparent;
  box-shadow:none!important;
}
.product-card:hover{transform:none;box-shadow:none!important}
.product-card .product-image{
  display:block;
  aspect-ratio:1/1;
  border-radius:0;
  background:transparent;
  transition:transform .5s cubic-bezier(.2,.6,.2,1),opacity .25s ease;
}
.product-card:hover .product-image{transform:scale(.985);opacity:.96}
.product-card .product-info{padding:16px 2px 8px}
.product-card .product-info h3{
  margin:4px 0 7px;
  font-size:22px;
  line-height:1.08;
  font-weight:400;
}
.product-card-category{
  display:block;
  margin-bottom:5px;
  color:var(--muted);
  font-size:10px;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.product-card-description{
  margin:8px 0 12px;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}
.product-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.product-card .price,.product-card .price-prefix,.product-card .old-price{font-size:13px;font-weight:400}
.product-card .old-price{opacity:.65}
.product-status{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}

/* Story */
.story-section{padding:0 0 118px}
.story-panel{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  min-height:650px;
  background:var(--surface-soft);
}
.story-image{min-height:520px;overflow:hidden}
.story-image img{width:100%;height:100%;object-fit:cover;display:block}
.story-copy{display:flex;flex-direction:column;justify-content:center;padding:70px clamp(40px,7vw,96px)}
.story-copy p{max-width:520px;color:var(--muted);font-size:16px;line-height:1.85;margin:24px 0 28px}

/* Value strip */
.value-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.value-item{padding:34px 36px;min-height:150px}
.value-item+ .value-item{border-left:1px solid var(--line)}
.value-item strong{display:block;margin-bottom:10px;font-size:15px;font-weight:400}
.value-item p{margin:0;color:var(--muted);font-size:13px;line-height:1.65}

/* Shop */
.shop-page{padding-top:76px!important;padding-bottom:120px!important}
.shop-hero{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);
  align-items:end;
  gap:60px;
  padding:34px 0 62px;
  border-bottom:1px solid var(--line);
}
.shop-hero h1{font-size:clamp(62px,7vw,94px)}
.shop-hero-copy{max-width:520px;color:var(--muted);line-height:1.8;font-size:15px}
.shop-count{display:block;margin-top:16px;color:var(--ink);font-size:11px;letter-spacing:.14em;text-transform:uppercase}
.shop-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  padding:24px 0 34px;
  margin:0;
}
.shop-chips{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.shop-chip{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:8px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  font-size:11px;
  letter-spacing:.06em;
  transition:border-color .2s ease,color .2s ease,background .2s ease;
}
.shop-chip:hover,.shop-chip.is-active{border-color:var(--ink);background:var(--ink);color:var(--surface)}
.shop-page .search{display:flex;min-width:min(360px,100%);max-width:420px;border-bottom:1px solid var(--ink)}
.shop-page .search input{padding:11px 2px;border:0;border-radius:0;background:transparent;outline:none;box-shadow:none}
.shop-page .search button{border:0;background:transparent;color:var(--ink);font:inherit;font-size:11px;letter-spacing:.1em;text-transform:uppercase;cursor:pointer}
.shop-page .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 20px}
.empty-state{grid-column:1/-1;padding:70px 0;color:var(--muted);text-align:center}

/* Product detail */
.product-page{padding-top:34px;padding-bottom:118px}
.product-breadcrumbs{display:flex;gap:8px;align-items:center;padding:18px 0 28px;color:var(--muted);font-size:11px;letter-spacing:.06em}
.product-breadcrumbs a:hover{color:var(--ink)}
.product-detail{grid-template-columns:minmax(0,1.08fr) minmax(380px,.72fr);gap:72px;padding:0}
.product-main-image{
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
.product-thumbs{grid-template-columns:repeat(5,minmax(64px,1fr))!important;gap:8px!important;margin-top:10px!important}
.product-thumb{border:1px solid transparent!important;border-radius:0!important;background:transparent!important}
.product-thumb.active{border-color:var(--ink)!important}
.product-angle-label{font-size:10px!important;letter-spacing:.12em;text-transform:uppercase}
.product-detail .detail{
  position:sticky;
  top:150px;
  align-self:start;
  padding-top:22px;
}
.product-detail .detail h1{
  margin:10px 0 18px;
  font-size:clamp(48px,5vw,70px);
  line-height:.96;
  letter-spacing:-.025em;
  font-weight:400;
}
.product-price-row{display:flex;align-items:center;gap:10px;margin-bottom:26px}
.product-price-row .price{font-size:18px!important;font-weight:400}
.product-detail .description{margin:0 0 28px;color:var(--muted);font-size:15px;line-height:1.8}
.variant-selectors{gap:14px!important;margin:24px 0 14px!important;padding-top:22px;border-top:1px solid var(--line)}
.variant-selectors label{font-size:11px!important;letter-spacing:.08em;text-transform:uppercase;font-weight:400!important}
.variant-selectors select{
  min-height:48px;
  margin-top:8px!important;
  border-radius:0;
  border-color:var(--line);
  background:var(--surface);
}
.variant-meta{font-size:11px!important;letter-spacing:.06em}
.quantity{margin:22px 0 14px!important}
.quantity label{font-size:11px!important;letter-spacing:.08em;text-transform:uppercase;font-weight:400!important}
.quantity input{width:92px!important;border-radius:0}
.product-add-button{width:100%;min-height:54px!important;margin-top:4px}
.purchase-notes{margin-top:28px;border-top:1px solid var(--line)}
.purchase-note{display:grid;grid-template-columns:18px 1fr;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}
.purchase-note-mark{font-size:11px;color:var(--gold-strong)}
.purchase-note strong{display:block;margin-bottom:3px;font-size:12px;font-weight:400}
.purchase-note span{display:block;color:var(--muted);font-size:11px;line-height:1.5}

/* Footer */
.site-footer{margin-top:0;padding:84px 0 26px;background:var(--footer)}
.footer-grid{grid-template-columns:1.4fr .65fr .8fr 1.25fr;gap:54px}
.footer-brand{font-size:44px;color:var(--footer-text)}
.footer-grid>div:first-child p{max-width:280px;color:color-mix(in srgb,var(--footer-text) 65%,transparent);line-height:1.7}
.footer-grid h4{font-size:10px;letter-spacing:.16em;text-transform:uppercase;font-weight:400;color:color-mix(in srgb,var(--footer-text) 62%,transparent)}
.footer-grid a,.footer-grid p{font-size:13px}
.newsletter-row{border-bottom:1px solid color-mix(in srgb,var(--footer-text) 52%,transparent);gap:0}
.newsletter-row input{border:0!important;border-radius:0!important;background:transparent!important;padding-left:0!important}
.newsletter-row .btn{min-height:44px;background:transparent!important;border:0!important;border-radius:0!important;padding:10px 0 10px 18px!important;color:var(--footer-text)!important}
.copyright{margin-top:60px;padding-top:22px;font-size:11px}

@media(max-width:1000px){
  body:not(.admin) .container{width:min(100% - 40px,1240px)}
  .editorial-heading{grid-template-columns:1fr;gap:18px}
  .story-panel{grid-template-columns:1fr 1fr}
  .product-detail{gap:42px}
  .nav-wrap nav{gap:20px}
  .nav-actions{gap:8px}
}

@media(max-width:800px){
  body:not(.admin) .container{width:min(100% - 28px,1240px)}
  body:not(.admin) .section{padding:72px 0}
  .site-ribbon{min-height:32px;font-size:9px;letter-spacing:.13em}
  .site-ribbon-inner{gap:8px}
  .nav-wrap{height:82px}
  .mobile-menu{top:114px}
  .brand{min-width:0;width:122px!important;height:72px!important}
  .brand img,.brand:hover img{width:118px!important;height:auto!important;max-height:68px!important;transform:none!important;filter:none!important;box-shadow:none!important}
  .theme-toggle{display:none}
  .home-hero,.home-hero-shell{min-height:680px}
  .home-hero-shell{align-items:flex-end;padding-top:110px;padding-bottom:68px}
  .home-hero h1{font-size:clamp(54px,16vw,76px)}
  .home-hero p{font-size:15px;line-height:1.65}
  .hero-actions{gap:8px}
  .hero-actions .btn{flex:1 1 180px}
  .hero-note{font-size:9px;letter-spacing:.12em}
  .editorial-section{padding:78px 0}
  .editorial-heading{margin-bottom:28px}
  .editorial-heading h2,.story-copy h2{font-size:clamp(40px,12vw,58px)}
  .collection-mosaic{grid-template-columns:1fr 1fr;grid-template-rows:360px 250px;min-height:0;gap:8px}
  .collection-tile:first-child{grid-column:1/-1;grid-row:auto}
  .collection-tile{min-height:250px}
  .collection-tile-copy{left:18px;right:18px;bottom:18px}
  .collection-tile-copy h3{font-size:30px}
  .featured-products-section{padding-top:72px!important;padding-bottom:74px!important}
  .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 10px!important}
  .product-card .product-info{padding:11px 0 4px!important}
  .product-card .product-info h3{font-size:17px!important;min-height:0!important}
  .product-card-description{display:none}
  .story-section{padding-bottom:78px}
  .story-panel{grid-template-columns:1fr;min-height:0}
  .story-image{min-height:430px}
  .story-copy{padding:48px 24px 54px}
  .value-strip{grid-template-columns:1fr}
  .value-item{min-height:0;padding:24px 2px}
  .value-item+.value-item{border-left:0;border-top:1px solid var(--line)}
  .shop-page{padding-top:34px!important;padding-bottom:78px!important}
  .shop-hero{grid-template-columns:1fr;gap:18px;padding:22px 0 36px}
  .shop-hero h1{font-size:clamp(56px,17vw,76px)}
  .shop-toolbar{align-items:stretch;flex-direction:column;padding:20px 0 30px}
  .shop-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
  .shop-chips::-webkit-scrollbar{display:none}
  .shop-chip{flex:0 0 auto}
  .shop-page .search{max-width:none;min-width:0;width:100%}
  .shop-page .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:30px 10px}
  .product-page{padding-top:10px;padding-bottom:76px}
  .product-breadcrumbs{padding:12px 0 20px;overflow:hidden;white-space:nowrap}
  .product-detail{grid-template-columns:1fr!important;gap:28px!important}
  .product-detail .detail{position:static;padding-top:8px}
  .product-detail .detail h1{font-size:clamp(44px,14vw,62px)}
  .product-thumbs{grid-template-columns:repeat(5,minmax(50px,1fr))!important}
  .footer-grid{grid-template-columns:1fr 1fr!important;gap:40px 26px}
  .footer-grid>div:first-child,.footer-grid .newsletter{grid-column:1/-1}
  .site-footer{padding-top:62px}
}

@media(max-width:430px){
  .site-ribbon-inner span:last-child{display:none}
  .collection-mosaic{grid-template-columns:1fr;grid-template-rows:340px 240px 240px}
  .collection-tile:first-child{grid-column:auto}
  .home-hero,.home-hero-shell{min-height:620px}
  .home-hero-shell{padding-bottom:52px}
  .home-hero h1{font-size:46px}
  .home-hero p{margin-top:20px}
  .hero-actions{margin-top:26px}
  .hero-note{margin-top:26px}
  .shop-page .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .footer-grid{grid-template-columns:1fr!important}
  .footer-grid>div,.footer-grid>div:first-child,.footer-grid .newsletter{grid-column:auto}
}
