/* Culinary presentation. Keeps existing navigation, grids and transaction layout. */
body[data-ce-cookbook-store] .hero-panel { grid-template-columns: 54% 46%; }
body[data-ce-cookbook-store] .hero-content h1 { font-size: clamp(38px, 4.15vw, 62px); line-height: 1.1; letter-spacing: -.055em; }
body[data-ce-cookbook-store] .hero-content { padding-block: 42px 34px; }
body[data-ce-cookbook-store] .ce-cookbook-hero { display: flex; align-items: center; justify-content: center; min-height: 420px; height: auto; padding: 0; background: #f3ece5; }
body[data-ce-cookbook-store] .ce-cookbook-hero__image { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; }
body[data-ce-cookbook-store] .ce-cookbook-highlights { gap: 15px; }
body[data-ce-cookbook-store] .ce-cookbook-highlights strong { font-size: 18px; letter-spacing: -.025em; }
body[data-ce-cookbook-store] .ce-cookbook-highlights small { font-size: 7px; letter-spacing: .08em; }
body[data-ce-cookbook-store] .ce-region-card { min-height: 175px; border-color: #d7e4d9; background: linear-gradient(125deg,#f5f8ef,#dceadd); }
body[data-ce-cookbook-store] .ce-region-card--americas { background: linear-gradient(125deg,#f9f2df,#f0e5cc); }
body[data-ce-cookbook-store] .ce-region-card--asia { background: linear-gradient(125deg,#faf0e9,#ecded3); }
body[data-ce-cookbook-store] .ce-region-card--europe { background: linear-gradient(125deg,#edf4f0,#dce8e1); }
body[data-ce-cookbook-store] .ce-region-card--middle-east { background: linear-gradient(125deg,#f7f3e6,#e9e0c9); }
body[data-ce-cookbook-store] .ce-region-card--oceania { background: linear-gradient(125deg,#edf5f3,#d9eae3); }
body[data-ce-cookbook-store] .ce-region-mark { position: absolute; top: 20px; right: 18px; font-family: 'Playfair Display',Georgia,serif; font-size: 65px; line-height: 1; letter-spacing: -.08em; color: #1b604014; pointer-events: none; }
body[data-ce-cookbook-store] .ce-region-card .category-card__bottom h3 { color: #193e30; font-size: 24px; }
body[data-ce-cookbook-store] .ce-region-card .category-card__top { color: #526c5f; }
body[data-ce-cookbook-store] .ce-region-card .category-card__bottom p { color: #496756; }
body[data-ce-cookbook-store] .search-links { display: flex; flex-wrap: wrap; gap: 8px; }
body[data-ce-cookbook-store] .ce-world-banner { display: block; overflow: hidden; border: 1px solid #e5ece4; border-radius: 18px; background: #fff; line-height: 0; transition: box-shadow .2s; }
body[data-ce-cookbook-store] .ce-world-banner:hover { box-shadow: 0 10px 30px #285e3516; }
body[data-ce-cookbook-store] .ce-world-banner img { display: block; width: 100%; height: auto; object-fit: contain; }
body[data-ce-cookbook-store] .ce-world-banner-mobile { display: none; }
body[data-ce-cookbook-store] .ce-cookbook-empty { grid-column: 1/-1; padding: 28px; background: #eff5ee; border: 1px solid #d7e4d9; border-radius: 14px; color: #496756; }
body[data-ce-cookbook-store] .ce-world-banner:focus-visible,
body[data-ce-cookbook-store] .ce-region-card:focus-visible { outline: 3px solid #136d50; outline-offset: 4px; }
@media (max-width: 950px) and (min-width: 651px) {
  body[data-ce-cookbook-store] .hero-content { padding: 30px 20px 26px; }
  body[data-ce-cookbook-store] .hero-content h1 { font-size: clamp(34px,4.7vw,46px); }
  body[data-ce-cookbook-store] .ce-cookbook-hero { min-height: 0; }
  body[data-ce-cookbook-store] .ce-cookbook-highlights { gap: 8px; flex-wrap: wrap; }
  body[data-ce-cookbook-store] .ce-cookbook-highlights strong { font-size: 15px; }
  body[data-ce-cookbook-store] .ce-cookbook-highlights small { font-size: 6px; }
}
@media (max-width: 650px) {
  body[data-ce-cookbook-store] .hero-panel { display: block; }
  body[data-ce-cookbook-store] .hero-content { padding: 26px 22px 24px; }
  body[data-ce-cookbook-store] .hero-content h1 { font-size: clamp(35px,9.7vw,50px); }
  body[data-ce-cookbook-store] .hero-content > p { font-size: 12px; }
  body[data-ce-cookbook-store] .ce-cookbook-hero { min-height: 0; height: auto; }
  body[data-ce-cookbook-store] .ce-cookbook-highlights { justify-content: space-between; gap: 8px; }
  body[data-ce-cookbook-store] .ce-cookbook-highlights strong { font-size: 15px; }
  body[data-ce-cookbook-store] .ce-cookbook-highlights small { font-size: 6px; }
  body[data-ce-cookbook-store] .ce-region-card { min-height: 137px; }
  body[data-ce-cookbook-store] .ce-region-card .category-card__bottom h3 { font-size: 20px; }
  body[data-ce-cookbook-store] .ce-region-mark { font-size: 50px; }
  body[data-ce-cookbook-store] .ce-world-banner { border-radius: 12px 12px 0 0; border-bottom: 0; }
  body[data-ce-cookbook-store] .ce-world-banner-mobile { display: block; border: 1px solid #e5ece4; border-top: 0; border-radius: 0 0 12px 12px; padding: 12px 20px 22px; background: #fff; }
  body[data-ce-cookbook-store] .ce-world-banner-mobile h2 { font-size: 28px; color: #173f31; line-height: 1.13; margin-block: 8px 16px; }
}
@media (prefers-reduced-motion: reduce) { body[data-ce-cookbook-store] .ce-world-banner { transition: none; } }

/* Visible welcome copy in the existing left hero card. */
body[data-ce-cookbook-store] .hero-welcome { max-width: 540px; margin-bottom: 22px; }
body[data-ce-cookbook-store] .hero-welcome p { margin: 0 0 11px; color: #3a6554; font-size: 13px; line-height: 1.75; }
body[data-ce-cookbook-store] .hero-welcome p:last-child { margin-bottom: 0; }
@media (max-width: 950px) and (min-width: 651px) {
  body[data-ce-cookbook-store] .hero-welcome p { font-size: 12px; line-height: 1.65; }
}
@media (max-width: 650px) {
  body[data-ce-cookbook-store] .hero-welcome { margin-bottom: 18px; }
  body[data-ce-cookbook-store] .hero-welcome p { font-size: 12px; line-height: 1.75; }
}
/* No decorative arrows. Mobile actions keep visible text rather than leaving
   the original arrow-only, font-size:0 links invisible. */
body[data-ce-cookbook-store] [data-ce-arrow-hidden],
body[data-ce-cookbook-store] .circle-arrow:empty,
body[data-ce-cookbook-store] .section-action > span:empty,
body[data-ce-cookbook-store] .quick-pill > span:empty { display: none !important; }
body[data-ce-cookbook-store] .ce-arrowless-label { font: inherit; white-space: nowrap; }
body[data-ce-cookbook-store] .value-bar > div:not(:has(.value-icon)) { grid-template-columns: 1fr; }
body[data-ce-cookbook-store] .sort-box select { appearance: none; -webkit-appearance: none; background-image: none; padding-right: 14px; }
body[data-ce-cookbook-store] .faq-container summary { list-style: none; display: flex; justify-content: space-between; gap: 12px; }
body[data-ce-cookbook-store] .faq-container summary::-webkit-details-marker { display: none; }
body[data-ce-cookbook-store] .faq-container summary::after { content: '+'; flex: none; }
body[data-ce-cookbook-store] .faq-container details[open] > summary::after { content: '−'; }
@media (max-width:650px) {
  body[data-ce-cookbook-store] .section-action { font-size: 10px; line-height: 1.4; max-width: 105px; text-align: right; white-space: normal; }
  body[data-ce-cookbook-store] .section-action > span { display: none; }
}
body[data-ce-cookbook-store] button.ce-arrowless-control { width: auto !important; min-width: 48px; padding-inline: 12px; font-size: 12px; }
/* Desktop gets the expanded welcome; phones/tablets keep their existing copy. */
body[data-ce-cookbook-store] .hero-mobile-welcome { display: none; }
@media (max-width: 950px) {
  body[data-ce-cookbook-store] .ce-desktop-welcome { display: none; }
  body[data-ce-cookbook-store] .hero-mobile-welcome { display: block; }
}
/* Phone-only general footer removal. Order action footers are not targeted. */
body[data-ce-cookbook-store] .ce-mobile-footer-links { display: none; }
@media (max-width: 650px) {
  body[data-ce-cookbook-store] .site-footer { display: none !important; }
  body[data-ce-cookbook-store] .ce-mobile-footer-links { display: block; }
  body[data-ce-cookbook-store] .ce-mobile-footer-links > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 10px 8px; list-style: none; cursor: pointer; color: #234536; font-size: 13px; font-weight: 700; border-bottom: 1px solid #dbe7df; }
  body[data-ce-cookbook-store] .ce-mobile-footer-links > summary::-webkit-details-marker { display: none; }
  body[data-ce-cookbook-store] .ce-mobile-footer-links > summary::after { content: '+'; }
  body[data-ce-cookbook-store] .ce-mobile-footer-links[open] > summary::after { content: '−'; }
  body[data-ce-cookbook-store] .ce-mobile-footer-links > div > a { display: block; min-height: 44px; padding-inline: 16px; }
  body[data-ce-cookbook-store] .ce-mobile-footer-links > summary:focus-visible { outline: 2px solid #146b52; outline-offset: -2px; border-radius: 6px; }
  body[data-ce-cookbook-store] #mobile-menu:not([hidden]) { max-height: calc(100vh - 152px - env(safe-area-inset-bottom, 0px)); max-height: calc(100dvh - 152px - env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; }
}
/* Phone-only: the featured section keeps its books, without the extra shop link. */
@media (max-width: 650px) {
  body[data-ce-cookbook-store] .home-section#featured .section-action { display: none; }
}
@media (max-width: 650px) {
  body[data-ce-cookbook-store] .home-section#new-arrivals .section-action { display: none; }
}
@media (max-width: 650px) {
  body[data-ce-cookbook-store] .home-section#categories .section-action { display: none; }
}
/* Consistent culinary benefit icons, in desktop and phone layouts. */
body[data-ce-cookbook-store] .value-icon.ce-benefit-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; border: 1px solid #d5e5da; border-radius: 11px; color: #146b52; background: linear-gradient(145deg,#f4faf4,#e4f1e8); box-shadow: inset 0 1px 0 #fff; }
body[data-ce-cookbook-store] .ce-benefit-icon svg { width: 23px; height: 23px; flex: none; }
/* Fill the right card edge to edge without changing the source image or ratio. */
body[data-ce-cookbook-store] .ce-cookbook-hero { position: relative; overflow: hidden; }
body[data-ce-cookbook-store] .ce-cookbook-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
@media (max-width: 650px) {
  body[data-ce-cookbook-store] .value-icon.ce-benefit-icon { width: 34px; height: 34px; border-radius: 9px; }
  body[data-ce-cookbook-store] .ce-benefit-icon svg { width: 21px; height: 21px; }
  body[data-ce-cookbook-store] .ce-cookbook-hero { aspect-ratio: 1 / 1; min-height: 0; height: auto; }
}
/* The phone catalog hero keeps its title and controls, without oversized art. */
@media (max-width: 650px) {
  body[data-ce-cookbook-store] .catalog-hero .subpage-deco,
  body[data-ce-cookbook-store] .catalog-hero::after { display: none; }
}
