*{box-sizing:border-box}
body{margin:0;background:#fff3df;color:#321c0d;font:16px/1.45 Arial,sans-serif}
header,footer,aside{background:linear-gradient(105deg,#49290e,#281708 62%,#432509);color:#ffefd5}
.bar,main{max-width:1440px;margin:auto}.bar,nav,.brand{display:flex;align-items:center}.bar{padding:12px 3%;gap:24px;justify-content:space-between}nav{gap:clamp(12px,2vw,36px);flex-wrap:wrap}a{color:inherit}nav a,header a,footer a,.categories a,.button{text-decoration:none}nav a:hover,nav [aria-current]{color:#ffc775}.brand{gap:8px;font:bold clamp(20px,2vw,30px) Georgia,serif}.brand img{width:48px;border-radius:50%}.brand small{font:13px Arial;display:block}.favlink{font-size:30px}
.hero,.photo{display:block;width:100%}.wrap,.story,aside{padding:clamp(16px,2.2vw,34px)}.categories,.grid,.story,.detail{display:grid;gap:clamp(12px,1.6vw,24px)}.categories{grid-template-columns:repeat(3,1fr);margin-bottom:28px}.categories a,article{overflow:hidden;border:1px solid #e0c198;border-radius:16px;background:linear-gradient(125deg,#fff8ec,#f8e3c5)}.categories a{display:flex;align-items:center;font:bold clamp(16px,2vw,30px)/1.12 Georgia}.categories img{width:47%;align-self:stretch;object-fit:cover}.categories span{padding:12px}.categories i{display:block;font:20px Arial;margin-top:10px}
h1,h2,h3{line-height:1.13}h1,h2,em{font-family:Georgia,serif}h1{font-size:clamp(32px,4vw,60px)}h2{font-size:clamp(24px,2.7vw,40px)}.ruled{display:flex;align-items:center;justify-content:center;gap:20px}.ruled:before,.ruled:after{content:'';height:1px;width:10%;background:#98612c}.grid{grid-template-columns:repeat(4,1fr)}article{position:relative}h3{margin:0;font-size:clamp(16px,1.4vw,22px)}.info{padding:14px}.heart{position:absolute;right:3%;top:2%;border:0;border-radius:50%;width:38px;height:38px;background:#fff0d8;color:#42220c;font-size:26px;cursor:pointer}.heart[aria-pressed=true]{color:#973e17}strong{display:block;font-size:24px;margin:10px 0}.button{display:inline-block;border:0;border-radius:24px;background:#82450f;color:white;padding:8px 20px;font:inherit;cursor:pointer}.button:hover{background:#623009}
aside{display:flex;align-items:center;justify-content:space-around;gap:20px}aside em{font-size:30px;line-height:1.05}.story,.detail{grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-items:center}.story,.inner{background:#fff1dc url('images/sprig.svg') right bottom/110px auto no-repeat}.story img,.detail img{width:100%;border-radius:14px}.story>div{padding-right:60px}.inner{min-height:70vh;padding-bottom:80px}.inner>h1{margin:24px 0}.detail p{max-width:52ch}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}:focus-visible{outline:3px solid #bd7720;outline-offset:2px}
@media(max-width:760px){.bar{flex-wrap:wrap;gap:8px}nav{order:3;width:100%;padding:5px 0;font-size:14px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.categories{grid-template-columns:1fr}.categories a{height:94px;font-size:21px}.categories img{width:40%;object-position:center}.categories i{display:inline;margin-left:12px}.story,.detail{grid-template-columns:1fr}.story>div{padding-right:30px}aside{display:grid;grid-template-columns:1fr 1fr}aside em{font-size:23px}.info{padding:10px}.button{padding:8px 14px}.heart{width:32px;height:32px;font-size:22px}}

[hidden]{display:none!important}
.mobile-search,.mobile-nav{display:none}
[data-quantity]{margin-top:8px}
.counter{display:inline-flex;gap:12px;align-items:center;border-radius:22px;background:#f2d7ae}
.counter button{width:40px;height:38px;border:0;background:transparent;color:#593012;font-size:20px;cursor:pointer}
#total{font-size:24px;font-weight:bold}
@media(max-width:760px){

header .bar nav,header .favlink,.desktop-cart{display:none}
header .brand img{width:36px}.brand small{font-size:11px}
.mobile-search{display:flex;margin:0 12px;padding-bottom:10px}
.mobile-search input{border:0;border-radius:12px 0 0 12px;padding:10px 14px;flex:1;min-width:0;font:inherit}
.mobile-search button{background:#f2cd95;border:0;border-radius:0 12px 12px 0;padding:0 16px;color:#321c0d}
.mobile-nav{display:flex;position:fixed;z-index:5;bottom:0;left:0;right:0;width:100%;background:#fff7e9;border-top:1px solid #dfc6a7;padding:6px 4px calc(6px + env(safe-area-inset-bottom));justify-content:space-around;gap:0}
.mobile-nav a{display:grid;justify-items:center;gap:2px;font-size:11px;min-width:60px;color:#664d37}
.mobile-nav [aria-current]{color:#944606;font-weight:bold}.mobile-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}
.categories{display:flex;overflow-x:auto;gap:8px;margin-bottom:18px}.categories a{flex:none;width:156px;height:74px;font-size:15px}.categories span{padding:6px}.categories i{display:none}
.grid{gap:9px}.wrap{padding:12px}.grid article:not([hidden]){display:flex;flex-direction:column}.info{display:flex;flex:1;flex-direction:column}.info strong{margin-top:auto;padding-top:6px}.info .button{text-align:center}.info>a.button{background:none;color:#6b3914;padding:3px 0;text-align:left;font-size:13px}.add,.counter{width:100%}.counter{justify-content:space-between}
footer .bar{padding:18px 12px}.inner{padding-bottom:80px}
}

.categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-columns: minmax(0, 1fr);
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}
.categories a { min-width: 0; }
.categories a:focus-visible { outline-offset: -4px; }
@media (max-width:760px) {
  .categories { gap: 6px; }
  .categories a {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-radius: 11px;
    font-size: clamp(13px, 3.5vw, 18px);
    text-align: center;
  }
  .categories img { width: 100%; aspect-ratio: 1.65; object-fit: cover; }
  .categories span { margin: auto 0; padding: 7px 2px; }
}

.categories {
  --tile-gap: clamp(12px, 1.6vw, 24px);
  display: flex;
  gap: var(--tile-gap);
}
.categories > a { flex: 0 0 calc((100% - 2 * var(--tile-gap)) / 3); }
article[data-item="kitchen-set"] .photo { object-position: center 65%; }
@media (max-width:760px) { .categories { --tile-gap: 6px; } }

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 50%; flex: none; }
.footer-brand small { font-size: 13px; line-height: 1.45; }
@media (max-width: 760px) { .footer-brand { width: 100%; margin-bottom: 6px; } }

.craft-strip {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  align-items: center;
  gap: clamp(4px,2vw,28px);
  padding-inline: clamp(8px,4vw,60px);
}
.craft-strip em { grid-column: 1 / -1; text-align: center; margin-bottom: 8px; font-size: clamp(15px,3vw,34px); }
.craft-strip span { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: clamp(10px,1.5vw,18px); line-height: 1.2; }
.craft-strip svg { width: clamp(28px,4vw,52px); height: auto; padding: 4px; color: #f4cd8a; border: 1px solid currentColor; border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

:is(header, footer) a:is([href="delivery.html"], [href="contacts.html"]) {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
:is(header, footer) a:is([href="delivery.html"], [href="contacts.html"])::before {
  content: "";
  flex: none;
  width: 1.2em;
  height: 1.2em;
  background: center / contain no-repeat var(--link-icon);
}
:is(header, footer) a[href="delivery.html"] {
  --link-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4cd8a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17H2V5h12v12H9m5-10h4l4 5v5h-2m-6 0h2m-2-5h8'/%3E%3Ccircle cx='7' cy='17' r='2'/%3E%3Ccircle cx='18' cy='17' r='2'/%3E%3C/svg%3E");
}
:is(header, footer) a[href="contacts.html"] {
  --link-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4cd8a' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M5 3h3l2 5-2.5 2a15 15 0 0 0 6.5 6.5l2-2.5 5 2v3c0 1.2-1 2-2.2 2C10.2 20.5 3.5 13.8 3 5.2 3 4 3.8 3 5 3Z'/%3E%3C/svg%3E");
}

@media (max-width:760px) {
  .mobile-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .mobile-nav a { min-width: 0; min-height: 48px; align-content: start; text-align: center; font-size: clamp(9px,2.65vw,11px); line-height: 1.12; }
  footer { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
}
.inner details { max-width: 680px; padding: 14px 0; border-bottom: 1px solid #dfc6a7; }
.inner summary { cursor: pointer; font-weight: bold; }

footer a[href='faq.html'] { display: inline-flex; align-items: center; gap: .4em; }

.footer-shop { display: none; }
@media (min-width:761px) {
  footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .mobile-nav {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 4px;
    position: fixed; z-index: 5; bottom: calc(12px + env(safe-area-inset-bottom)); left: 50%;
    transform: translateX(-50%); width: 340px; padding: 5px;
    background: #fff7e9; border: 1px solid #dfc6a7; border-radius: 18px;
    box-shadow: 0 3px 18px #38200930;
  }
  .mobile-nav a { display: grid; justify-items: center; gap: 2px; padding: 6px; border-radius: 12px; font-size: 13px; }
  .mobile-nav a:hover, .mobile-nav a[aria-current] { background: #f4e2c9; color: #75400d; }
  .mobile-nav svg, .footer-shop svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
  .mobile-search { display: flex; max-width: 1440px; margin: auto; padding: 0 3% 14px; }
  .mobile-search input { flex: 1; min-width: 0; border: 0; border-radius: 12px 0 0 12px; padding: 10px 14px; font: inherit; }
  .mobile-search button { border: 0; border-radius: 0 12px 12px 0; padding: 0 22px; background: #f2cd95; color: #321c0d; font: inherit; cursor: pointer; }
  footer .bar { flex-wrap: wrap; }
  .footer-shop { display: flex; gap: 24px; flex-basis: 100%; }
  .footer-shop a { display: inline-flex; align-items: center; gap: 6px; }
  .footer-shop svg { color: #f4cd8a; }
}

@media (min-width: 1025px) {
  footer .footer-shop { display: none; }
}

@media (max-width: 760px) {
  footer .bar { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1.3fr); column-gap: 4px; }
  footer .footer-brand { grid-column: 1 / -1; }
  footer .bar > a { flex-direction: column; justify-content: center; gap: 4px; min-height: 48px; text-align: center; font-size: clamp(11px, 3.3vw, 14px); line-height: 1.2; }
  footer .bar > a::before, footer .bar > a > svg { width: 19px; height: 19px; }
}

@media (min-width: 1025px) {
  header { display: flex; align-items: center; justify-content: center; gap: 32px; padding-inline: 3%; }
  header > .bar { margin: 0; padding: 12px 0; }
  header > .bar > :not(.brand) { display: none; }
  header > .mobile-search { flex: 1; max-width: 1080px; padding: 14px 0; margin: 0; }
}

@media (max-width: 760px) {
  .craft-strip em {
    font-size: clamp(20px, 6.6vw, 48px);
    line-height: 1.15;
    white-space: normal;
    margin: 0;
  }
}

@media (max-width:760px) {
  .inner { position: relative; background-image: none; padding-bottom: calc(18.5vw + 12px); }
  .inner::before, .inner::after {
    content: "";
    position: absolute;
    bottom: 5px;
    width: calc((100% - 12px) * 0.51725 + 1px);
    aspect-ratio: 1200 / 650;
    background: url('images/sprig.svg') center / contain no-repeat;
    pointer-events: none;
  }
  .inner::before { left: 6px; transform-origin: center bottom; transform: scaleY(.66); }
  .inner::after { right: 6px; transform-origin: center bottom; transform: scale(-1, .66); }
}
.cookie-settings { border:0; padding:0; background:transparent; color:inherit; text-decoration:underline; font:inherit; cursor:pointer; }
.cookie-notice { position:fixed; z-index:8; right:16px; bottom:calc(85px + env(safe-area-inset-bottom)); width:min(400px,calc(100% - 32px)); max-height:55vh; overflow:auto; padding:16px; border:1px solid #dfc6a7; border-radius:14px; background:#fff7e9; color:#321c0d; box-shadow:0 4px 22px #38200930; font-size:14px; }
.cookie-notice h2 { font-size:21px; margin:0; }
.cookie-notice p { margin:8px 0; }
.cookie-notice div { display:flex; gap:8px; margin-top:12px; }
.cookie-notice button { flex:1; padding:10px; border:1px solid #865327; border-radius:12px; background:#f8e3c5; color:#321c0d; font:inherit; cursor:pointer; }

article .photo { aspect-ratio: 3 / 4; object-fit: cover; }
article[data-item='utensils'] .photo { object-position: center 78%; }

article[data-item='knife5'] .photo { object-position: center 58%; }

img[src="images/knife3.jpg"],
img[src="images/knife5.jpg"] { filter: brightness(1.23) contrast(.95) sepia(.17) saturate(1.13); }
img[src="images/filled.jpg"] { filter: brightness(1.13) contrast(.98) sepia(.12) saturate(1.08); }
img[src="images/utensils.jpg"] { filter: brightness(1.18) contrast(.96) sepia(.16) saturate(1.12); }
[data-quantity] { display:grid; grid-template-columns:minmax(0,1fr); gap:5px; }
[data-quantity] .in-cart { background:#513324; color:#fff4df; border-radius:12px; padding:9px 10px; text-align:center; }
[data-quantity] .counter { box-sizing:border-box; width:100%; justify-content:space-between; gap:3px; }
[data-quantity] .counter button { width:32px; }
.cart-badge { display:inline-grid; place-items:center; min-width:18px; padding:1px 4px; border-radius:12px; background:#6b432d; color:white; font:bold 11px/16px system-ui; }
a[href="cart.html"]:has(.cart-badge) { position:relative; }
.mobile-nav .cart-badge,.footer-shop .cart-badge { position:absolute; left:calc(50% + 5px); top:0; background:#ffdc9f; color:#392215; }
.mobile-nav { background:#39251c; border-top:1px solid #674937; box-shadow:0 -3px 14px #321c1729; }
.mobile-nav a { color:#fff0d9; }
.mobile-nav a:hover,.mobile-nav a[aria-current] { background:#634532; color:white; }
[data-quantity] .in-cart:not([hidden]) { box-sizing:border-box; width:100%; display:grid; gap:2px; align-content:center; line-height:1.15; }
.in-cart small { font-size:12px; }
.mobile-nav a[href="cart.html"] { position:relative; overflow:visible; }
.mobile-nav .cart-badge:not([hidden]) { display:grid; z-index:1; top:1px; left:calc(50% + 4px); min-width:21px; min-height:21px; border:2px solid #39251c; border-radius:20px; background:#ffda93; color:#30190c; font-size:12px; }
.category-title { margin:0 0 12px; }
.category-carousel { position:relative; margin-bottom:24px; }
.category-carousel .categories { margin-bottom:0; }
.category-carousel > button { position:absolute; z-index:1; top:50%; transform:translateY(-50%); display:grid; place-items:center; width:32px; height:32px; padding:0 0 3px; border:1px solid #94704e; border-radius:50%; background:#503525; color:#fff2dc; font:28px/1 Georgia,serif; cursor:pointer; }
.category-carousel > button::before { content:""; position:absolute; inset:-6px; }
.category-prev { left:-4px; }
.category-next { right:-4px; }
.category-carousel > button:hover { background:#69472f; }
.category-carousel > button:focus-visible { outline:3px solid #ba781f; outline-offset:2px; }

@media (max-width:760px) {
  html, body { overflow-x:clip; }
  .craft-strip > *, .story > *, .detail > * { min-width:0; }
  .craft-strip, .inner { overflow-wrap:anywhere; }
}
.category-carousel > button { opacity:.7; }
.category-carousel > button:focus-visible,.category-carousel > button:active { opacity:1; }
.checkout-open { width:min(100%,360px); }
#checkout { width:min(92vw,440px); max-height:88dvh; overflow:auto; padding:22px; border:1px solid #c6a57c; border-radius:18px; background:#fff6e7; color:#39251c; }
#checkout::backdrop { background:rgb(43 28 17 / 60%); }
#checkout h2 { margin:0 34px 8px 0; }
#checkout form,#checkout label { display:grid; gap:6px; }
#checkout form { gap:12px; }
#checkout p { margin:0; }
#checkout input,#checkout textarea { width:100%; padding:10px; border:1px solid #b79c7e; border-radius:9px; background:#fffdf8; font:inherit; }
.checkout-close { position:absolute; top:10px; right:10px; width:36px; height:36px; border:0; background:transparent; color:#513324; font-size:26px; }
