/*
Theme Name: Caffè Lanzo
Version: 1.3.0
Author: Orbistech
Text Domain: caffe-lanzo
*/

*{box-sizing:border-box}body{margin:0;background:#faf5eb;color:#342017;font:16px system-ui}a{color:inherit}img{display:block;max-width:100%}button,select,input{font:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible{outline:3px solid #c78c53;outline-offset:3px}.wrap{width:min(1120px,92%);margin:auto}.top{background:#352016;color:#f8ead9;padding:8px 0;font-size:13px}.top .wrap,header .wrap{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}header{background:#fffaf2;padding:12px 0}header img{width:72px}nav{display:flex;gap:6px 20px;flex-wrap:wrap}nav a{padding:8px 0;text-decoration:none}nav a:hover,footer a:hover{text-decoration:underline}.hero{background:#28170f;color:#fff2dc}.split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px}.hero img{width:100%;height:490px;object-fit:cover;object-position:center 70%}.hero h1{max-width:9em}.hero em,.tag{color:#ad7041}.hero em{color:#e6ba8a}.section{padding:52px 0}.tag{font-size:12px;text-transform:uppercase;letter-spacing:.15em;font-weight:650}h1,h2,h3{font-family:Georgia;font-weight:500;line-height:1.03;margin:12px 0}h1{font-size:clamp(43px,7vw,83px)}h2{font-size:clamp(30px,4vw,52px)}h3{font-size:26px}p{line-height:1.55}.btn,button{display:inline-block;background:#542f1d;color:#fff8ed;border:0;padding:12px 18px;text-decoration:none}.hero .btn{background:#fff1dc;color:#412517}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:18px}.card{background:#fffaf3;border:1px solid #e9dac7;padding:16px}.card img,.placeholder{height:210px;width:100%;object-fit:contain;background:white}.placeholder{display:grid;place-items:center;color:#745541;text-align:center}.gift{background:#eddfca}.gift img{max-height:390px;margin:auto}.award{border-top:1px solid #e2d2bc}.award blockquote{font:italic clamp(22px,3vw,34px) Georgia;margin:12px 0}.muted{color:#735746}.filters{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.filters a{border:1px solid #d7bfa6;padding:10px;text-decoration:none}.filters a[aria-current]{background:#542f1d;color:#fff}.row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;border-bottom:1px solid #decdb9;padding:14px 0}.row input{width:70px;padding:6px}footer{background:#352016;color:#f8ead9;padding:36px 0}footer .wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:20px}footer a{display:block;margin:9px 0}main{min-height:48vh}@media(max-width:700px){.split{grid-template-columns:1fr}.hero .wrap>div{padding-top:28px}.hero img{height:350px}.section{padding:30px 0}nav{gap:4px 14px}.top .wrap{gap:5px}}
.reference{position:relative;max-width:1120px;margin:auto}.reference img{width:100%}.reference a{position:absolute;display:block}.reference a:hover{box-shadow:inset 0 0 0 1px #d8b68c66}.award.section{padding:26px 0}.footer-logo{width:108px;background:#fff;padding:3px;border-radius:3px}.footer-logo img{width:100%;height:auto}.gr-award{display:inline-grid;justify-items:center;gap:7px;color:#a02025;padding:10px 0 0}.gr-award div{font:bold clamp(25px,3vw,36px) Georgia}.gr-award svg{width:92px;height:auto}.gr-award span{font-size:12px;letter-spacing:.18em;text-transform:uppercase;font-weight:700}header .wrap>a{mix-blend-mode:multiply}header img{width:84px}header nav{font-family:Georgia,serif;font-weight:600}header nav a:hover{text-decoration-color:#a66a3c;text-underline-offset:5px}.footer-logo{display:grid;place-items:center;width:108px;height:108px;border-radius:50%;padding:14px;background:#f8ebd6}.footer-logo img{mix-blend-mode:multiply}.social-icon{display:inline-grid;place-items:center;width:42px;height:42px;border:1px solid #ceb399;border-radius:50%;margin-right:8px}.social-icon svg{width:20px;height:20px}.gift-editorial{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);background:#eddfca}.gift-copy{align-self:center;padding:clamp(24px,5vw,65px);text-align:left}.gift-copy h2{max-width:9em}.gift-copy em{color:#81502e}.gift-copy p{max-width:24ch}.gift-editorial img{width:100%;height:100%;object-fit:cover;object-position:65% center}.award .wrap{column-gap:clamp(24px,6vw,90px)}@media(max-width:680px){.gift-editorial{grid-template-columns:1fr}.gift-editorial img{height:auto}.gift-copy{padding:30px 6%}}header{border-bottom:1px solid #e9dac7;padding:13px 0}header nav{align-items:center;gap:6px clamp(14px,2.4vw,34px)}header nav a{font-size:16px;min-height:42px;display:flex;align-items:center}header .cart-nav{border:1px solid #d9c5ad;border-radius:5px;padding:8px 13px}.top a{text-decoration:none}.top a:hover{text-decoration:underline}.home-page{padding-top:clamp(10px,2vw,24px)}.home-page .reference{width:min(1120px,94%);overflow:hidden;border-radius:6px}.home-categories{margin-block:clamp(12px,2vw,25px)}.home-gift{margin-bottom:clamp(22px,3vw,40px)}.home-gift .gift-hit{left:7%;top:68%;width:28%;height:17%;border-radius:5px}.gift-hit span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.home-page .award{background:#f2e7d7;padding:clamp(25px,4vw,48px) 0}.award blockquote{margin-top:0}.award a{text-underline-offset:4px}.social-heading{display:block}.social-icon:hover{background:#f8ead9;color:#352016}footer a{text-decoration:none}footer .wrap{grid-template-columns:1.2fr repeat(4,1fr)}@media(max-width:760px){header .wrap{gap:7px}header nav{width:100%;column-gap:14px}header nav a{font-size:15px}footer .wrap{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.home-gift .gift-hit{position:static;display:block;width:auto;height:auto;border-radius:0;background:#542f1d;text-align:center;padding:11px;color:#fff8ed;text-decoration:none}.gift-hit span{position:static;width:auto;height:auto;clip-path:none}.home-page .award .split{gap:20px}}
/* Layout a tutta larghezza del mockup Lanzo. */
body { background: #faf7f0; }
.site-header { background: #faf7f0; border: 0; padding: 0; }
.site-header .header-inner {
  width: 100%;
  min-height: clamp(94px, 9vw, 123px);
  padding-inline: clamp(22px, 7.5vw, 138px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
}
.site-header .brand { justify-self: start; }
.site-header .brand img { width: clamp(78px, 8.3vw, 112px); height: auto; }
.site-header .primary-nav { width: auto; justify-content: center; gap: clamp(14px, 2.45vw, 38px); }
.site-header .primary-nav a { color: #241a14; gap: 5px; white-space: nowrap; font-size: 17px; }
.site-header .primary-nav a:hover { color: #845d43; }
.site-header .primary-nav a[aria-current] { color: #704728; text-decoration: underline; text-underline-offset: 5px; }
.header-actions { display: flex; justify-self: end; align-items: center; gap: 8px; }
.site-header .icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 40px;
  min-height: 44px;
  padding: 0;
  border: 0;
  color: #221912;
  background: transparent;
  text-decoration: none;
}
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.header-actions .icon { width: 24px; height: 24px; }
.site-header .menu-toggle { display: none; }
#count { min-width: 1ch; font-size: 12px; font-variant-numeric: tabular-nums; }
.skip-link { position: fixed; z-index: 2; top: 10px; left: 10px; transform: translateY(-160%); padding: 10px 14px; background: #fffaf2; }
.skip-link:focus { transform: none; }
main:focus { outline: none; }

.home-page { padding: 0; }
.home-page .reference { width: 100%; max-width: none; overflow: hidden; border-radius: 0; margin: 0; }
.home-page .banner-photo img { width: 100%; height: auto; }
.banner-copy, .banner-hit span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.home-page .banner-hit { border-radius: 6px; }
.banner-hit .icon { display: none; }
.home-hero .banner-hit { left: 7.2%; top: 72%; width: 26.4%; height: 11.5%; }
.home-gift .banner-hit { left: 7.2%; top: 69%; width: 26.4%; height: 15.5%; }

.home-categories {
  margin: 0;
  padding: clamp(21px, 2.6vw, 43px) clamp(20px, 4vw, 88px) clamp(25px, 3.6vw, 56px);
  text-align: center;
  background: #fcfaf5;
  color: #201710;
  font-family: Georgia, "Times New Roman", serif;
}
.categories-intro { margin: 0 auto clamp(14px, 2.25vw, 34px); }
.categories-intro .tag {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  margin: 0;
  color: #625044;
  font: 500 clamp(9px, 1vw, 13px)/1.3 system-ui, sans-serif;
  letter-spacing: .09em;
}
.categories-intro .tag::before, .categories-intro .tag::after {
  content: "";
  width: clamp(17px, 3.7vw, 55px);
  height: 1px;
  background: #c4b7a9;
}
.categories-intro h2 { margin: 5px 0 6px; font-size: clamp(35px, 4.25vw, 68px); font-weight: 700; letter-spacing: -.043em; }
.categories-intro h2 em { color: #835e45; }
.categories-intro p:last-child { margin: 0; font-size: clamp(15px, 1.52vw, 23px); }
.categories-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 36px); }
.category-card { display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.category-card img { width: 100%; height: auto; aspect-ratio: 1.44; object-fit: cover; border-radius: 5px; }
.category-card h3 { margin: 10px 0 5px; font-size: clamp(22px, 2.6vw, 39px); font-weight: 700; letter-spacing: -.032em; }
.category-card p { max-width: 32ch; margin: 0 auto 12px; font-size: clamp(14px, 1.28vw, 19px); line-height: 1.24; }
.discover { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 5px 12px 5px 15px; border: 1px solid #e5d8c7; border-radius: 25px; background: #f8f2e8; font-size: 16px; }
.discover .icon { padding: 3px; border-radius: 50%; background: #805c41; color: white; }
.category-card:hover .discover { border-color: #a68064; background: #f0e4d5; }
.home-page .award { padding: clamp(23px, 3vw, 45px) 0; }
.award .tag { margin: 0; color: #74513a; }
.award .review-title { margin: 6px 0 0; color: #8a2523; font-size: clamp(30px, 3.2vw, 46px); }

.subpage { padding-block: clamp(30px, 5vw, 70px); }
.subpage .split > img { max-height: 510px; margin-inline: auto; }
.subpage .split .card img { height: clamp(210px, 34vw, 380px); }
.subpage .text-link { text-underline-offset: 4px; }
.search-label { display: block; font-weight: 650; }
.search-input { width: min(100%, 460px); min-height: 45px; margin: 6px 0 14px; border: 1px solid #c8ab94; border-radius: 4px; padding: 9px 12px; }
.search-results > p { color: #735746; }
.preview-note { margin-top: 22px; font-size: 13px; color: #e7d3c0; }

@media (max-width: 820px) {
  .site-header .header-inner { padding-inline: 22px; }
  .site-header .primary-nav { gap: 13px; }
  .site-header .primary-nav a { font-size: 15px; }
}
@media (max-width: 620px) {
  .site-header .header-inner { min-height: 76px; padding: 6px 17px; grid-template-columns: 1fr auto; gap: 0 12px; }
  .site-header .brand img { width: 66px; }
  .site-header .menu-toggle { display: inline-flex; }
  .site-header .primary-nav { display: none; }
  .site-header .primary-nav.is-open { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; padding: 6px 0 8px; }
  .site-header .primary-nav a { border-top: 1px solid #e4d8ca; }
  .header-actions { grid-column: 2; grid-row: 1; gap: 4px; }
  .home-page .reference { display: flex; flex-direction: column; align-items: start; }
  .home-hero { background: #2d190e; color: #fff8ed; }
  .home-gift { background: #f2e0c6; color: #351d11; }
  .banner-copy, .banner-hit span {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip-path: none;
    white-space: normal;
  }
  .banner-copy { padding: 25px 20px 0; }
  .banner-copy h1, .banner-copy h2 { margin: 0; font-weight: 700; letter-spacing: -.04em; }
  .banner-copy h1 { font-size: clamp(36px, 10vw, 57px); }
  .banner-copy h2 { font-size: clamp(31px, 8.4vw, 50px); }
  .banner-copy p { max-width: 32ch; margin: 10px 0 13px; font: 16px/1.34 Georgia, serif; }
  .home-hero .banner-copy em { color: #e6bf94; }
  .home-gift .banner-copy em { color: #805638; }
  .home-page .banner-hit {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 20px 12px;
    padding: 9px 13px;
    width: auto;
    height: auto;
    min-height: 44px;
    text-decoration: none;
    font: 700 16px Georgia, serif;
  }
  .home-hero .banner-hit { background: #fff7eb; color: #2b190e; }
  .home-gift .banner-hit { background: #442617; color: #fff8ec; }
  .banner-hit .icon { display: block; width: 16px; height: 16px; }
  .home-page .banner-photo { position: relative; order: 1; width: 100%; overflow: hidden; }
  .home-page .home-hero .banner-photo img { width: 170%; max-width: none; margin-inline-start: -70%; }
  .home-page .home-gift .banner-photo img { width: 168%; max-width: none; margin-inline-start: -68%; }
  .categories-grid { grid-template-columns: 1fr; gap: 20px; }
  .category-card { max-width: 420px; margin: 0 auto; }
  .category-card h3 { font-size: 27px; }
  .home-page .award .split { gap: 13px; }
}

.lanzo-content{width:min(1200px,92%);margin:clamp(2rem,5vw,5rem) auto;min-height:45vh}.lanzo-content img{max-width:100%;height:auto}.lanzo-content h1{font: bold clamp(32px,5vw,62px) Georgia,serif}.woocommerce a.button,.woocommerce button.button.alt,.woocommerce a.button.alt{background:#573523;color:white;border-radius:6px}.lanzo-search{padding:1rem 5vw;background:#faf7f0}.lanzo-search form{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}.lanzo-search input{padding:.6rem}.lanzo-search button{padding:.6rem 1rem}.site-header{z-index:10}.woocommerce div.product div.images img{height:auto}

/* Keep the full-width photograph, with independently sized editorial copy. */
@media (min-width:621px) {
  .home-page .home-hero {
    isolation:isolate; display:grid; align-content:center;
    min-height:clamp(350px,34vw,480px); padding:40px clamp(32px,7vw,160px);
    color:#fff8ec; background:#2b160c;
  }
  .home-hero .banner-photo {
    position:absolute; inset:0 0 0 40%; z-index:-1;
    background:#30190e; overflow:hidden;
  }
  .home-page .home-hero .banner-photo img {
    width:100%;height:100%;object-fit:contain;object-position:center;
  }
  .home-hero .banner-photo::after {
    content:"";position:absolute;inset:0;
    background:linear-gradient(90deg,#2b160c,transparent 14%,transparent 91%,#30190e);
  }
  .home-hero .banner-copy,.home-hero .banner-hit span {
    position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal;
  }
  .home-hero .banner-copy {width:min(37vw,490px)}
  .home-hero h1 {margin:0;font:500 clamp(36px,3.7vw,64px)/1.01 Georgia,serif;letter-spacing:-.045em}
  .home-hero h1 em {color:#dfb998}
  .home-hero .banner-copy p {max-width:32ch;font:clamp(16px,1.17vw,19px)/1.45 Georgia,serif;color:#f0dfce;margin:16px 0 21px}
  .home-page .home-hero .banner-hit {position:static;display:inline-flex;width:fit-content;height:auto;align-items:center;gap:16px;padding:12px 19px;background:#fff7eb;color:#352117;font:600 16px Georgia,serif;text-decoration:none;border-radius:4px}
  .home-hero .banner-hit .icon {display:block;width:15px;height:15px}
  .categories-grid {max-width:1200px;margin-inline:auto}
  .categories-intro h2 {font-size:clamp(34px,3.4vw,50px)}
  .category-card h3 {font-size:clamp(24px,2vw,31px)}
  .category-card p,.categories-intro p:last-child {font-size:17px;line-height:1.45}
  .home-page .home-gift {background:#f4e8d6}
  .home-gift .banner-photo {max-width:1320px;margin:auto;position:relative}
  .home-page .home-gift .banner-hit {left:calc(50% - min(42.8vw,565px));width:min(26.4vw,349px)}
}
.woocommerce .lanzo-content h1,.lanzo-content h1 {font-size:clamp(32px,3.6vw,52px);letter-spacing:-.035em}
.woocommerce ul.products li.product .woocommerce-loop-product__title {font:500 clamp(19px,1.6vw,25px)/1.2 Georgia,serif}
.woocommerce ul.products li.product .price {color:#63472f;font-weight:600}
.woocommerce ul.products li.product img {border-radius:4px}
footer a {text-underline-offset:4px}
.home-hero picture {display:block;height:100%}
@media(min-width:621px) {
  .home-hero .banner-photo {background:#2b160c}
  .home-hero picture {width:min(100%,780px);margin:auto;position:relative}
  .home-hero picture::after {content:"";position:absolute;inset:0;background:linear-gradient(90deg,#2b160c,transparent 12%,transparent 90%,#2b160c)}
  .home-page .home-hero .banner-photo img {object-fit:cover;object-position:center 54%}
}
@media(min-width:621px) {
  .home-hero picture {width:auto;max-width:100%;height:100%;aspect-ratio:620/476}
  .home-page .home-hero .banner-photo img {object-fit:contain}
}

@media(min-width:621px) {
  .site-header .header-inner {min-height:90px;padding-block:6px}
  .site-header .brand img {width:80px}
}
.category-card {position:relative}
.category-card .discover {text-decoration:none}
.category-card .discover::after {content:"";position:absolute;inset:0}

@media(min-width:621px){
.home-page .home-hero .banner-photo{inset:0}
.home-page .home-hero .banner-photo img{object-fit:cover;object-position:72% center}
.home-page .home-hero .banner-photo::after{background:linear-gradient(90deg,rgba(20,11,7,.78),rgba(20,11,7,.45) 40%,transparent 64%)}
}
@media(max-width:620px){
.home-page .home-hero .banner-photo img{width:100%;margin:0;height:clamp(215px,60vw,320px);object-fit:cover;object-position:84% center}
}
@media(prefers-reduced-motion:no-preference){
.home-hero .banner-photo img{animation:lanzo-camera 4s ease-out both;transform-origin:76% 56%}
.home-hero .banner-copy{animation:lanzo-rise .7s ease-out both}
.category-card img,.discover .icon{transition:transform .35s ease}
.category-card:hover img{transform:translateY(-3px)}
.category-card:hover .discover .icon{transform:translateX(3px)}
.lanzo-reveal{animation:lanzo-rise .65s ease-out both}
@keyframes lanzo-camera{from{transform:scale(1.04)}to{transform:scale(1)}}
@keyframes lanzo-rise{from{opacity:.2;translate:0 12px}to{opacity:1;translate:0}}
}
