/* Desktop-only storefront layout refinement (2026-11-10).
   Deliberately starts at 1024px: do not alter the approved phone/tablet layout.
   Layout only — no checkout/order/payment selectors or JavaScript behavior. */
@media screen and (min-width:1024px) {
  html body.premium-v93 { overflow-x:clip; }
  html body.premium-v93 .site-header {
    width:100%; max-width:none; min-height:80px;
    padding:12px clamp(24px,3.2vw,64px)!important;
    gap:clamp(16px,2vw,32px)!important;
    align-items:center!important;
  }
  html body.premium-v93 .site-header .brand { flex:0 0 auto; min-width:0; }
  html body.premium-v93 .site-header .brand img {
    width:auto!important; max-width:min(245px,22vw)!important;
    max-height:58px!important; object-fit:contain!important;
  }
  html body.premium-v93 .header-right {
    display:flex!important; align-items:center!important;
    justify-content:flex-end!important; flex:1 1 auto!important; min-width:0!important;
    gap:clamp(10px,1.4vw,22px)!important;
  }
  html body.premium-v93 .kaya-header-shortcuts {
    display:flex!important; flex-wrap:wrap!important; align-items:center!important;
    justify-content:flex-end!important; gap:clamp(9px,1.35vw,22px)!important;
    min-width:0!important;
  }
  html body.premium-v93 .kaya-header-shortcuts a,
  html body.premium-v93 .kaya-header-shortcuts button {font-size:clamp(12px,.95vw,15px)!important;}
  html body.premium-v93 .kaya-header-language {flex:0 0 auto!important;}

  /* The older 132vh sticky scroll hero is too tall for desktop viewing. */
  html body.premium-v93 main#top > .hero-scroll {
    min-height:0!important; height:auto!important;
    padding:clamp(18px,2.8vw,46px) 28px clamp(24px,3vw,50px)!important;
    border-radius:0 0 26px 26px!important;
  }
  html body.premium-v93 main#top > .hero-scroll .hero-stage {
    position:relative!important; top:auto!important;
    min-height:0!important; height:auto!important;
    max-width:1200px!important; margin:0 auto!important;
    gap:clamp(16px,1.8vw,26px)!important;
  }
  html body.premium-v93 main#top > .hero-scroll .kaya-story-hero {
    width:min(100%,1100px)!important; max-width:1100px!important;
    margin:0 auto!important; border-radius:20px!important; overflow:hidden!important;
  }
  html body.premium-v93 main#top > .hero-scroll .kaya-story-hero img {
    width:100%!important; height:auto!important; max-height:min(65vh,680px)!important;
    object-fit:contain!important; transform:none!important;
  }
  html body.premium-v93 main#top > .hero-scroll .hero-actions {
    display:flex!important; flex-wrap:wrap!important; align-items:center!important;
    justify-content:center!important; width:100%!important; max-width:680px!important;
    gap:16px!important; margin:0 auto!important;
  }
  html body.premium-v93 main#top > .hero-scroll .hero-actions .btn {
    width:auto!important; min-width:220px!important; max-width:320px!important;
    flex:1 1 220px!important;
  }

  /* Keep full-width section background artwork, with a centered reading column. */
  html body.premium-v93 main#top > section#limited,
  html body.premium-v93 main#top > section#menu,
  html body.premium-v93 main#top > section#cheesecake,
  html body.premium-v93 main#top > section#order-your-way,
  html body.premium-v93 main#top > section#about,
  html body.premium-v93 main#top > section.cutlery-section,
  html body.premium-v93 main#top > section.media-section {
    box-sizing:border-box!important;
    padding-left:max(32px,calc((100% - 1320px)/2))!important;
    padding-right:max(32px,calc((100% - 1320px)/2))!important;
  }
  html body.premium-v93 #limited .limited-heading-wrap,
  html body.premium-v93 #limited .limited-grid,
  html body.premium-v93 #menu .section-head,
  html body.premium-v93 #menu .product-grid,
  html body.premium-v93 #cheesecake .section-head,
  html body.premium-v93 #cheesecake .size-bar,
  html body.premium-v93 #cheesecake .cheesecake-grid,
  html body.premium-v93 #order-your-way .order-way-title,
  html body.premium-v93 #order-your-way .order-way-intro,
  html body.premium-v93 #order-your-way .order-way-grid {
    width:100%!important; max-width:1320px!important;
    margin-left:auto!important; margin-right:auto!important; box-sizing:border-box!important;
  }
  html body.premium-v93 #limited .limited-grid.kaya-feature-grid {
    display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:clamp(20px,2.2vw,32px)!important; align-items:stretch!important;
  }
  html body.premium-v93 #menu .product-grid,
  html body.premium-v93 #cheesecake .cheesecake-grid {
    display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:clamp(18px,2vw,28px)!important; align-items:stretch!important;
  }
  html body.premium-v93 #menu .product-card,
  html body.premium-v93 #cheesecake .cheesecake-card,
  html body.premium-v93 #limited .limited-card {
    min-width:0!important; max-width:100%!important; height:100%;
  }
  html body.premium-v93 #menu .product-card img,
  html body.premium-v93 #cheesecake .cheesecake-card img {
    max-width:100%!important; object-fit:contain!important;
  }
  html body.premium-v93 #menu .section-head h2,
  html body.premium-v93 #cheesecake .section-head h2 {
    font-size:clamp(34px,3.2vw,54px)!important; line-height:1.12!important;
  }
  html body.premium-v93 #cheesecake .cheesecake-head {
    display:flex!important; flex-wrap:wrap!important; gap:18px!important;
    align-items:center!important; justify-content:space-between!important;
  }
  html body.premium-v93 #cheesecake .cheesecake-timing-inline {
    flex:0 1 430px!important; min-width:0!important; max-width:430px!important;
  }
  /* Existing location/help wrapper has two children, not three. */
  html body.premium-v93 .kaya-three-info-grid {
    width:min(1320px,calc(100% - 64px))!important;
    max-width:1320px!important; margin:clamp(36px,4vw,64px) auto!important;
    display:grid!important; grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:clamp(18px,2vw,30px)!important; align-items:stretch!important;
  }
  html body.premium-v93 .kaya-three-info-grid > #contact,
  html body.premium-v93 .kaya-three-info-grid > #help {
    width:100%!important; min-width:0!important; max-width:none!important;
    grid-column:auto!important; grid-row:auto!important;
  }
}
@media screen and (min-width:1024px) and (max-width:1199px) {
  html body.premium-v93 .site-header {padding-inline:22px!important;}
  html body.premium-v93 .kaya-header-shortcuts {gap:10px!important;}
  html body.premium-v93 #menu .product-grid,
  html body.premium-v93 #cheesecake .cheesecake-grid {gap:16px!important;}
  /* Two features cannot comfortably share 1024px with their nested size controls. */
  html body.premium-v93 #limited .limited-grid.kaya-feature-grid {
    grid-template-columns:minmax(0,1fr)!important;
    max-width:780px!important;
  }
  html body.premium-v93 #cheesecake .cheesecake-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media screen and (min-width:1200px) {
  /* Four products should create a full, balanced row instead of a 3+1 orphan. */
  html body.premium-v93 #cheesecake .cheesecake-grid {
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}
@media print {
  /* Never override the existing invoice / website print layout. */
}


/* Fix: desktop About Us frame was constrained to 940px but inherited the
   shared 1320px section gutters; the resulting content collapsed to ~300px.
   Scope this to desktop and preserve the existing phone/tablet composition. */
@media screen and (min-width:1024px) {
  html body.premium-v93 main#top > section#about.about-section {
    display:block!important;
    width:min(1120px,calc(100% - 64px))!important;
    max-width:1120px!important;
    padding:clamp(32px,3.5vw,56px)!important;
    margin-inline:auto!important;
    box-sizing:border-box!important;
  }
  html body.premium-v93 section#about .kaya-about-point {
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    width:100%!important;
    max-width:920px!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  html body.premium-v93 section#about .kaya-about-point .kaya-about-icon {
    flex:0 0 clamp(110px,12vw,175px)!important;
    width:clamp(110px,12vw,175px)!important;
    height:clamp(110px,12vw,175px)!important;
  }
  html body.premium-v93 section#about .kaya-about-point p {
    display:block!important;
    flex:1 1 auto!important;
    min-width:0!important;
    max-width:none!important;
    width:auto!important;
    margin:0!important;
    text-align:left!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
}
