:root{
  --peach:#fde6d8; --peach-2:#f7d3bd; --clay:#dfa985; --rust:#b0622b; --rust-dark:#8a4a1f;
  --ink:#2b1d14; --muted:#6e5646; --cream:#fffaf6; --line:#ecd3c2;
}
*{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth}
body{font-family:"DM Sans",system-ui,sans-serif;color:var(--ink);background:var(--cream);line-height:1.6;font-size:17px}
img{max-width:100%;display:block}
a{color:inherit}
.wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.script{font-family:"Caveat",cursive;color:var(--rust);font-size:1.6rem;line-height:1}
h1,h2,h3{font-family:"DM Serif Display",Georgia,serif;font-weight:400;line-height:1.1;letter-spacing:-.01em}
h2{font-size:clamp(2rem,4vw,2.8rem);margin:.3rem 0 1rem}
section{padding:88px 0}

/* nav */
nav{position:sticky;top:0;z-index:10;background:rgba(255,250,246,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
nav .wrap{display:flex;align-items:center;justify-content:space-between;height:68px}
nav img{height:44px;width:auto}
nav ul{display:flex;gap:28px;list-style:none;padding:0}
nav ul a{text-decoration:none;font-weight:500;font-size:.95rem;color:var(--muted)}
nav ul a:hover{color:var(--rust)}
.btn{display:inline-block;background:var(--rust);color:#fff;text-decoration:none;font-weight:700;padding:13px 24px;border-radius:999px;transition:background .2s}
.btn:hover{background:var(--rust-dark)}
.btn.ghost{background:transparent;color:var(--rust);border:2px solid var(--rust)}
.btn.ghost:hover{background:var(--rust);color:#fff}
nav .btn{padding:9px 18px;font-size:.9rem}

/* hero */
.hero{background:var(--peach);padding:64px 0 0;overflow:hidden}
.hero .wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:end}
.hero-copy{padding-bottom:80px}
.hero h1{font-size:clamp(2.6rem,6vw,4.4rem);margin:.6rem 0 1.2rem}
.hero h1 em{font-style:normal;color:var(--rust)}
.hero p{font-size:1.15rem;color:var(--muted);max-width:32em;margin-bottom:2rem}
.hero .ctas{display:flex;gap:12px;flex-wrap:wrap}
.hero-img{position:relative}
.hero-img img{border-radius:220px 220px 0 0;aspect-ratio:4/5;object-fit:cover;width:100%;box-shadow:0 20px 50px -20px rgba(80,40,10,.35)}
.badge{position:absolute;left:-28px;bottom:48px;background:#fff;border-radius:18px;padding:14px 18px;box-shadow:0 10px 30px -10px rgba(80,40,10,.3);font-size:.9rem}
.badge b{display:block;font-size:1.4rem;color:var(--rust);font-family:"DM Serif Display",serif;font-weight:400}

/* usps */
.usps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:-1px;background:var(--rust);color:#fff;padding:28px 0}
.usps .item{text-align:center;font-weight:500}
.usps .item span{display:block;font-size:1.6rem;margin-bottom:4px}

/* favourites */
.center{text-align:center;max-width:640px;margin:0 auto 48px}
.center p{color:var(--muted)}
.favs{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.card{background:#fff;border-radius:22px;overflow:hidden;border:1px solid var(--line);display:flex;flex-direction:column}
.card img{aspect-ratio:1/1;object-fit:cover}
.card .body{padding:20px 22px 24px}
.card h3{font-size:1.35rem;margin-bottom:.4rem;display:flex;justify-content:space-between;gap:12px}
.card h3 small{font-family:"DM Sans";font-size:1rem;font-weight:700;color:var(--rust);white-space:nowrap}
.card p{color:var(--muted);font-size:.95rem}

/* menu */
.menu{background:var(--peach)}
.menu-grid{columns:3 300px;column-gap:24px}
.menu-col{background:var(--cream);border-radius:22px;padding:28px;break-inside:avoid;margin-bottom:24px;display:inline-block;width:100%}
.menu-col h3{font-size:1.5rem;color:var(--rust);margin-bottom:14px}
.row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px dashed var(--line);font-size:.96rem}
.row:last-child{border-bottom:0}
.row span:last-child{font-weight:700;white-space:nowrap}
.row small{display:block;color:var(--muted);font-size:.82rem}
.note{text-align:center;margin-top:28px;color:var(--muted);font-size:.95rem}

/* cakes */
.cakes .wrap{display:grid;grid-template-columns:1fr 1.1fr;gap:56px;align-items:center}
.cake-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.cake-grid figure{position:relative;border-radius:16px;overflow:hidden;margin:0}
.cake-grid img{aspect-ratio:1/1;object-fit:cover;transition:transform .4s}
.cake-grid figure:hover img{transform:scale(1.06)}
.cake-grid figcaption{position:absolute;left:0;right:0;bottom:0;padding:22px 10px 8px;background:linear-gradient(transparent,rgba(30,15,5,.75));color:#fff;font-size:.8rem;font-weight:500}
.steps{list-style:none;padding:0;margin:1.4rem 0 2rem;display:grid;gap:12px}
.steps li{display:flex;gap:14px;align-items:flex-start}
.steps li b{flex:none;width:30px;height:30px;border-radius:50%;background:var(--peach-2);color:var(--rust-dark);display:grid;place-items:center;font-size:.9rem}
.price-tag{color:var(--muted);margin-top:.4rem}

/* story */
.story{background:var(--ink);color:#f5e6db}
.story .wrap{display:grid;grid-template-columns:.8fr 1.2fr;gap:56px;align-items:center}
.story img{border-radius:24px;aspect-ratio:1/1;object-fit:cover}
.story h2{color:#fff}
.story p{color:#dcc6b6;margin-bottom:1rem}
.story .script{color:var(--clay)}
.story blockquote{font-family:"Caveat",cursive;font-size:1.9rem;color:var(--clay);line-height:1.2;margin-top:1.4rem}

/* visit */
.visit .wrap{display:grid;grid-template-columns:1fr 1fr 1fr;gap:28px;align-items:stretch}
.visit-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px}
.visit-card h3{font-size:1.5rem;margin-bottom:14px}
.hours .row span:first-child{color:var(--muted)}
.hours .today{color:var(--rust)}
.hours .closed span:last-child{color:var(--muted);font-weight:500}
.contact a{display:block;text-decoration:none;padding:6px 0;font-weight:500}
.contact a:hover{color:var(--rust)}
.illu{border-radius:22px;overflow:hidden;background:var(--peach)}
.illu img{height:100%;object-fit:cover;width:100%}

footer{background:var(--peach);padding:36px 0;font-size:.9rem;color:var(--muted)}
footer .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:center}
footer img{height:40px;width:auto}

/* tiling background (sections on cream) */
.tiled{background-color:var(--cream);background-image:url(img/tile.png);background-image:image-set(url(img/tile.webp) type("image/webp"),url(img/tile.png) type("image/png"));background-repeat:repeat;background-size:405px 405px}

/* icons (Lucide, inline sprite) */
.icon{width:1.1em;height:1.1em;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:-.15em}
.icon.filled{fill:currentColor}
.usps .item .icon{display:block;width:28px;height:28px;margin:0 auto 6px}
.contact a{display:flex;align-items:center;gap:10px}
.contact a .icon{color:var(--rust)}
.badge b .icon{width:.8em;height:.8em;vertical-align:-.02em}

/* shop */
.shop{background:var(--peach)}
.shop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.shop .card .body{display:flex;flex-direction:column;flex:1}
.shop .card .meta{color:var(--muted);font-size:.85rem;margin-bottom:.4rem}
.shop .card p{flex:1}
.shop .card .add{margin-top:16px;align-self:flex-start;border:0;cursor:pointer;font:inherit;font-weight:700}
.shop .card .add.added{background:var(--rust-dark)}
.shop .new{display:inline-block;background:var(--rust);color:#fff;font-family:"DM Sans";font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:3px 9px;border-radius:999px;vertical-align:middle;margin-left:6px}
.shop-empty{text-align:center;color:var(--muted)}
.nav-right{display:flex;align-items:center;gap:10px}
.cart-btn{position:relative;display:inline-flex;align-items:center;gap:8px;background:transparent;border:2px solid var(--rust);color:var(--rust);font:inherit;font-weight:700;font-size:.9rem;padding:7px 16px;border-radius:999px;cursor:pointer}
.cart-btn:hover{background:var(--rust);color:#fff}
.cart-btn .count{background:var(--rust);color:#fff;border-radius:999px;min-width:22px;height:22px;display:inline-grid;place-items:center;font-size:.78rem;padding:0 6px}
.cart-btn:hover .count{background:#fff;color:var(--rust)}
.cart-btn[hidden]{display:none}

.drawer-bg{position:fixed;inset:0;background:rgba(43,29,20,.45);z-index:20;opacity:0;pointer-events:none;transition:opacity .25s}
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(440px,100%);background:var(--cream);z-index:21;transform:translateX(100%);transition:transform .3s ease;display:flex;flex-direction:column;box-shadow:-20px 0 50px -20px rgba(80,40,10,.35)}
body.cart-open .drawer{transform:none}
body.cart-open .drawer-bg{opacity:1;pointer-events:auto}
.drawer header{display:flex;justify-content:space-between;align-items:center;padding:22px 24px;border-bottom:1px solid var(--line)}
.drawer header h3{font-size:1.6rem}
.drawer .close{background:none;border:0;font-size:1.8rem;line-height:1;cursor:pointer;color:var(--muted)}
.drawer .close .icon{width:24px;height:24px;display:block}
.qty button .icon{width:14px;height:14px;display:block;margin:auto}
.drawer .content{flex:1;overflow-y:auto;padding:8px 24px 24px}
.drawer .line{display:grid;grid-template-columns:56px 1fr auto;gap:14px;align-items:center;padding:14px 0;border-bottom:1px dashed var(--line)}
.drawer .line img{width:56px;height:56px;border-radius:12px;object-fit:cover}
.drawer .line b{display:block;font-weight:500;font-size:.95rem;line-height:1.3}
.drawer .line small{color:var(--muted)}
.qty{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:999px;background:#fff}
.qty button{background:none;border:0;width:30px;height:30px;font-size:1.1rem;cursor:pointer;color:var(--rust)}
.qty span{min-width:22px;text-align:center;font-weight:700;font-size:.9rem}
.drawer .total{display:flex;justify-content:space-between;font-weight:700;font-size:1.1rem;padding:18px 0 6px}
.drawer .empty{color:var(--muted);padding:28px 0;text-align:center}
.checkout{display:grid;gap:12px;margin-top:18px}
.checkout h4{font-family:"DM Serif Display",serif;font-weight:400;font-size:1.3rem;margin-top:10px}
.checkout label{display:grid;gap:4px;font-size:.88rem;font-weight:500;color:var(--muted)}
.checkout input,.checkout textarea{font:inherit;font-size:.95rem;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 12px;width:100%}
.checkout input:focus,.checkout textarea:focus{outline:2px solid var(--clay);border-color:transparent}
.checkout .two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.checkout .choice{display:flex;gap:10px}
.checkout .choice label{flex:1;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 12px;color:var(--ink);cursor:pointer}
.checkout .choice input{width:auto}
.checkout .choice label.disabled{opacity:.5;cursor:not-allowed}
.checkout .hint{font-size:.82rem;color:var(--muted)}
.checkout .error{background:#fbe3dc;color:#8a2d14;border-radius:12px;padding:10px 12px;font-size:.9rem}
.checkout button[type=submit]{border:0;cursor:pointer;font:inherit;font-weight:700;width:100%;padding:15px 24px;margin-top:6px}
.checkout button[disabled]{opacity:.7;cursor:wait}
.spinner{display:inline-block;width:14px;height:14px;border:2px solid rgba(255,255,255,.5);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite;vertical-align:-2px;margin-right:8px}
@keyframes spin{to{transform:rotate(360deg)}}
@media (max-width:900px){
  .shop-grid{grid-template-columns:1fr 1fr}
  .nav-right .btn{display:none}
}
@media (max-width:560px){
  .shop-grid{grid-template-columns:1fr}
}

@media (max-width:900px){
  nav ul{display:none}
  .hero .wrap,.cakes .wrap,.story .wrap,.visit .wrap{grid-template-columns:1fr}
  .hero-copy{padding-bottom:0}
  .hero-img{max-width:440px;margin:0 auto}
  .badge{left:8px}
  .usps{grid-template-columns:repeat(2,1fr)}
  .favs{grid-template-columns:1fr}
  section{padding:64px 0}
  .illu{max-height:360px}
}
.drawer .line-extra{display:flex;justify-content:space-between;padding:16px 0 0;color:var(--muted)}
.drawer #limit-msg{color:var(--rust);font-size:.85rem;padding-top:10px}
