/* Shared by the public site and shop preview. Desktop keeps its full navigation. */
.mobile-menu,.mobile-launch-note{display:none}
@media(max-width:600px),(max-width:950px) and (max-height:500px) and (orientation:landscape){
  .preview-note,.announcement{display:none}
  header{position:relative;min-height:64px;flex-wrap:nowrap;gap:16px;padding:0;border-bottom:0;z-index:5}
  header>nav,header>.bag,header>.account-link{display:none}
  header>a[aria-label="Dough Hearted home"]{display:block;flex:0 1 auto;margin:0}
  header .logo{width:176px;height:auto}
  .mobile-menu{display:block;position:static;flex:0 0 auto;border:0;padding:0;margin:0}
  .mobile-menu>summary{display:flex;align-items:center;justify-content:center;gap:10px;min-width:80px;min-height:44px;padding:8px 0 8px 10px;font-size:14px;list-style:none;border-radius:3px}
  .mobile-menu>summary::-webkit-details-marker{display:none}
  .mobile-menu>summary:focus-visible{outline:3px solid #976653;outline-offset:3px}
  .menu-icon{position:relative;width:17px;height:10px;border-top:1.5px solid currentColor;border-bottom:1.5px solid currentColor}
  .mobile-menu[open] .menu-icon{height:17px;border:0}
  .mobile-menu[open] .menu-icon::before,.mobile-menu[open] .menu-icon::after{content:"";position:absolute;top:8px;left:0;width:17px;border-top:1.5px solid currentColor;transform:rotate(45deg)}
  .mobile-menu[open] .menu-icon::after{transform:rotate(-45deg)}
  .mobile-menu .mobile-nav{position:absolute;top:100%;left:0;right:0;display:flex;flex-direction:column;align-items:stretch;justify-content:start;gap:0;width:auto;max-height:calc(100svh - 105px);overflow-y:auto;padding:12px 20px 16px;background:#fffaf3;border:1px solid var(--line);border-radius:5px;box-shadow:0 12px 25px #432a251a}
  .mobile-menu:not([open]) .mobile-nav{display:none}
  .development-banner~.wrap .mobile-nav{max-height:calc(100svh - 145px)}
  .mobile-menu .mobile-nav a{display:flex;align-items:center;min-height:48px;font-size:15px;white-space:normal;border-bottom:1px solid var(--line)}
  .mobile-menu .menu-note{font-size:12px;line-height:1.5;margin:14px 0 0;color:var(--muted)}
  /* Keep the entire square photograph in view, even on shorter phone screens. */
  .hero{grid-template-columns:minmax(0,1fr);gap:0;padding:0 0 32px;text-align:center}
  .hero figure{order:-1;justify-self:center;width:min(calc(100vw - 12px),calc(100svh - 240px),500px);max-width:none;margin:0}
  .hero img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:0}
  .hero figcaption,.hero-copy>.eyebrow,.hero-copy>.small{display:none}
  .hero h1{font-size:clamp(38px,11.8vw,54px);line-height:1.02;letter-spacing:-1.7px;margin:0 0 16px}
  .hero .lead{max-width:350px;font-size:15px;line-height:1.5;margin:0 auto 20px}
  .hero .primary{min-height:48px}
  .mobile-launch-note{display:block;color:var(--muted);font-size:12px;line-height:1.5;margin:12px 0 0}
}
@media(min-width:601px) and (max-width:950px) and (max-height:500px) and (orientation:landscape){
  .hero{grid-template-columns:1fr 1fr;gap:20px;padding-bottom:20px}
  .hero figure{order:1;width:min(42vw,calc(100svh - 140px))}
  .hero h1{font-size:38px;margin-bottom:10px}
  .hero .lead{font-size:13px;line-height:1.4;margin-bottom:12px}
  .hero .primary{font-size:13px;padding:10px 18px}
  .mobile-launch-note{margin-top:8px}
}

/* Clear contact choices for orders and general enquiries. */
/* Display-only colour lift: the original photographs and every detail stay intact. */
.hero img,.card img,#product-image,.baker-page .cookie-photo img,.dh-flavour img{filter:saturate(1.10) contrast(1.025)}
.contact-details strong{display:inline-block;margin-top:12px;color:var(--cream);font-weight:600}
.contact-details a{display:inline-block;min-height:44px;padding:9px 0}
.contact-details strong:first-child{margin-top:0}
.dialog-grid .primary{gap:16px;max-width:100%;margin-top:8px}
.faq .primary{font-size:13px;margin:12px 0 6px}
@media(max-width:600px){.footer .contact-details{font-size:14px}.hero .primary{gap:24px}}

/* Telephone contact belongs to the navigation, with no separate hero banner. */
header>.header-phone{display:flex;flex-direction:column;justify-content:center;min-height:44px;white-space:nowrap;text-decoration:none;font-size:15px;line-height:1.4;letter-spacing:.2px}
.header-phone span{font-size:11px;color:var(--muted);letter-spacing:0}
.header-phone strong{font-weight:500}
.header-phone:hover strong{text-decoration:underline;text-underline-offset:4px}
@media(max-width:600px),(max-width:950px) and (max-height:500px) and (orientation:landscape){
 header{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;gap:0 16px;min-height:80px;padding:6px 0}
 header>a[aria-label="Dough Hearted home"]{grid-column:1;grid-row:1;justify-self:start}
 header>.header-phone{grid-column:1;grid-row:2;justify-self:start;width:176px;align-items:center;min-height:28px;font-size:13px;line-height:1.2;letter-spacing:.3px;margin-top:-3px}
 .header-phone span{display:none}
 header>.mobile-menu{grid-column:2;grid-row:1 / 3;align-self:center}
}
