/* Homepage sections. Heading comment = future Shopify section + Dawn base it extends. */

/* ---------- announcement-bar → Dawn sections/announcement-bar.liquid ---------- */
.announcement-bar { background: var(--color-red-dark); color: var(--color-cream); text-align: center; font-size: .82rem; font-weight: 500; letter-spacing: .02em; }
.announcement-bar__message { display: flex; align-items: center; justify-content: center; min-height: var(--announcement-height); padding: .25rem var(--page-gutter); }
.announcement-bar a { text-decoration: none; }
.announcement-bar a:hover { text-decoration: underline; }

/* ---------- header → Dawn sections/header.liquid + header-drawer / header-dropdown-menu snippets ---------- */
.header-wrapper { position: sticky; top: 0; z-index: 100; background: var(--color-cream); border-bottom: 1px solid var(--color-line); }
.header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; min-height: var(--header-height); }
.header__heading-logo img { width: auto; height: 44px; }
.header__inline-menu { display: flex; gap: clamp(1rem, 2.4vw, 2.25rem); }
.header__menu-item { position: relative; padding: .5rem 0; font-weight: 600; font-size: .95rem; text-decoration: none; border-bottom: 2px solid transparent; }
.header__menu-item:hover, .header__menu-item[aria-current="page"], details[open] > .header__menu-item { border-color: var(--color-red); }
.header__menu-item--disclosure { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem; }
.header__menu-item--disclosure::-webkit-details-marker { display: none; }
.header__menu-item--disclosure::after { content: ""; width: .45rem; height: .45rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
.header__dropdown { position: relative; }
.header__submenu { position: absolute; top: 100%; left: -1rem; min-width: 14rem; padding: .5rem; border-radius: var(--radius); background: var(--color-white); box-shadow: var(--shadow-pop); }
.header__submenu a { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .75rem; border-radius: 6px; text-decoration: none; font-size: .92rem; }
.header__submenu a:hover { background: var(--color-cream); }
.header__submenu small { color: var(--color-text-muted); }
.header__icons { display: flex; justify-content: flex-end; gap: .15rem; }
.header__icon { position: relative; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: none; color: var(--color-text); text-decoration: none; }
.header__icon:hover { background: var(--color-cream-dark); }
.cart-count-bubble { position: absolute; top: .15rem; right: .05rem; min-width: 1.15rem; height: 1.15rem; padding-inline: .25rem; border-radius: 99px; background: var(--color-red); color: #fff; font-size: .7rem; font-weight: 800; line-height: 1.15rem; text-align: center; }
.cart-count-bubble[data-count="0"] { display: none; }
.header__menu-toggle { display: none; }

.search-modal { position: absolute; inset: 100% 0 auto; padding: 1rem var(--page-gutter); background: var(--color-white); border-bottom: 1px solid var(--color-line); box-shadow: var(--shadow-pop); }
.search-modal[hidden] { display: none; }
.search-modal form { display: flex; gap: .5rem; max-width: var(--page-width); margin-inline: auto; }
.search-modal input { flex: 1; min-height: 3rem; padding: .5rem 1.25rem; border: 1.5px solid var(--color-line); border-radius: var(--radius-pill); }

/* mobile menu → Dawn header-drawer */
.menu-drawer { position: fixed; z-index: 160; inset: 0 auto 0 0; display: flex; flex-direction: column; width: min(360px, 88%); background: var(--color-cream); box-shadow: var(--shadow-pop); transform: translateX(-100%); visibility: hidden; transition: transform .3s, visibility .3s; overflow-y: auto; }
body.menu-open .menu-drawer { transform: none; visibility: visible; }
.menu-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem .75rem 1.25rem; border-bottom: 1px solid var(--color-line); }
.menu-drawer__head img { height: 38px; width: auto; }
.menu-drawer nav { padding: .5rem 1.25rem 2rem; }
.menu-drawer a, .menu-drawer summary { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--color-line); font-weight: 600; font-size: 1.05rem; text-decoration: none; cursor: pointer; list-style: none; }
.menu-drawer summary::-webkit-details-marker { display: none; }
.menu-drawer summary::after { content: "+"; color: var(--color-red); font-size: 1.4rem; }
.menu-drawer details[open] summary::after { content: "–"; }
.menu-drawer details a { padding-left: 1rem; font-weight: 500; font-size: .98rem; }
.menu-drawer__group { margin: 1.5rem 0 .25rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--color-text-muted); }

/* ---------- hero → Dawn image-banner (custom: split layout, desktop+mobile image slots) ---------- */
.hero { overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; padding-block: clamp(1.75rem, 5vw, 4.5rem); }
.hero__title { font-size: clamp(2.6rem, 6.4vw, 5.2rem); color: var(--color-red); }
.hero__title em { font-style: normal; position: relative; white-space: nowrap; }
.hero__title em svg { position: absolute; left: 0; bottom: -.18em; width: 100%; height: .3em; stroke: var(--color-yellow); stroke-width: 6; fill: none; stroke-linecap: round; }
.hero__text { margin-top: 2.25rem; max-width: 46ch; font-size: 1.12rem; color: var(--color-text-muted); }
.hero__buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__media { position: relative; }
.hero__media .ph { border-radius: var(--radius-lg); }
.hero__media--desktop .ph { --ratio: 5 / 4; }
.hero__media--mobile { display: none; }
.hero__media--mobile .ph { --ratio: 4 / 3.2; }
.hero__accent { position: absolute; z-index: 1; width: 5.5rem; stroke: var(--color-red); stroke-width: 3; fill: none; stroke-linecap: round; right: -.5rem; top: -1.25rem; }
.hero__strip { border-block: 1px solid var(--color-line); background: var(--color-white); }
.hero__strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1rem; }
.hero__strip ul { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; font-size: .88rem; font-weight: 600; }
.hero__strip li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__strip li .icon { color: var(--color-red); width: 1.25rem; height: 1.25rem; }

/* ---------- shop-by-category → Dawn collection-list ---------- */
.collection-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); }
.collection-card { position: relative; display: block; text-decoration: none; }
.collection-card .ph { --ratio: 16 / 10; border-radius: var(--radius-lg); transition: transform .25s; }
.collection-card:hover .ph { transform: translateY(-3px); }
.collection-card__body { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem .15rem 0; }
.collection-card__title { font-size: 1.3rem; }
.collection-card__body .badge { flex: none; }
.collection-card__sub { font-size: .85rem; color: var(--color-text-muted); }

/* ---------- featured-collection (bestselling momos) → Dawn featured-collection ---------- */
.section-footnote { margin-top: 1.5rem; font-size: .78rem; color: var(--color-text-muted); }

/* ---------- brand highlights → Dawn multicolumn ---------- */
.multicolumn { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }
.multicolumn-card { padding: 1.75rem 1.5rem; border-radius: var(--radius-lg); background: var(--color-white); }
.multicolumn-card__icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin-bottom: 1.1rem; border-radius: 50%; background: var(--color-yellow); color: var(--color-red-dark); }
.multicolumn-card__icon .icon { width: 1.75rem; height: 1.75rem; }
.multicolumn-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.multicolumn-card p { font-size: .94rem; color: var(--color-text-muted); }
.multicolumn-card[data-claim-confirmed="false"] .claim-flag { display: inline-block; }
.claim-flag { display: none; margin-top: .75rem; }

/* ---------- editorial banner → Dawn image-with-text ---------- */
.image-with-text { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.image-with-text--reverse .image-with-text__media { order: 2; }
.image-with-text__media .ph { --ratio: 5 / 4; border-radius: var(--radius-lg); --ph-bg: rgba(255, 255, 255, .22); color: rgba(246, 242, 233, .9); }
.image-with-text__media .ph::after { background: rgba(39, 33, 29, .25); }
.image-with-text h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.image-with-text p:not(.caption-with-letter-spacing) { margin-top: 1.1rem; max-width: 46ch; font-size: 1.08rem; }
.image-with-text .button { margin-top: 1.75rem; }

/* ---------- cooking guide → Dawn custom-liquid / multicolumn with modal ---------- */
.cooking-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); }
.cooking-card { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; border-radius: var(--radius-lg); background: var(--color-white); box-shadow: var(--shadow-card); }
.cooking-card .ph { --ratio: 16 / 10; }
.cooking-card h3 { font-size: 1.5rem; color: var(--color-red); }
.cooking-card ol { padding-left: 1.2rem; display: grid; gap: .4rem; font-size: .93rem; color: var(--color-text-muted); }
.cooking-card .button { margin-top: auto; align-self: flex-start; }

/* ---------- discover more → Dawn collection-list / multicolumn (section can be disabled) ---------- */
.discover-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }
.discover-card { display: flex; flex-direction: column; gap: .85rem; text-decoration: none; }
.discover-card .ph { --ratio: 1 / 1; border-radius: var(--radius-lg); }
.discover-card h3 { font-size: 1.2rem; }
.discover-card p { font-size: .88rem; color: var(--color-text-muted); }

/* ---------- our story → Dawn image-with-text ---------- */
.story__timeline { display: flex; gap: 1.5rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--color-line); }
.story__timeline strong { display: block; font: 400 1.8rem/1 var(--font-heading); color: var(--color-red); }
.story__timeline span { font-size: .8rem; color: var(--color-text-muted); }
.story__note { margin-top: 1rem; font-size: .75rem; color: var(--color-text-muted); }

/* ---------- B2B teaser → Dawn image-with-text ---------- */
.b2b-teaser { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 2rem 4rem; padding: clamp(1.75rem, 4vw, 3.5rem); border-radius: var(--radius-lg); background: var(--color-white); border: 1px solid var(--color-line); }
.b2b-teaser h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.b2b-teaser p:not(.caption-with-letter-spacing) { margin-top: .85rem; color: var(--color-text-muted); max-width: 50ch; }
.b2b-teaser .button { margin-top: 1.5rem; }
.b2b-teaser .ph { --ratio: 16 / 10; }

/* ---------- testimonials → custom section (blocks) ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); }
.testimonial { display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem; border-radius: var(--radius-lg); background: var(--color-white); }
.testimonial blockquote { margin: 0; font-family: var(--font-heading); font-size: 1.15rem; line-height: 1.4; }
.testimonial footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-size: .85rem; color: var(--color-text-muted); }
.demo-banner { display: inline-block; margin-bottom: 1.25rem; }

/* ---------- FAQ → Dawn collapsible-content ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 5vw, 5rem); }

/* ---------- footer → Dawn sections/footer.liquid ---------- */
.footer { margin-top: 0; padding-top: clamp(2.5rem, 5vw, 4.5rem); background: var(--color-text); color: var(--color-cream); }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2.5rem; padding-bottom: 2.5rem; }
.footer__brand img { height: 52px; width: auto; }
.footer__brand p { margin-top: 1rem; max-width: 34ch; font-size: .9rem; opacity: .8; }
.footer h3 { margin-bottom: 1rem; font: 700 .75rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--color-yellow); }
.footer ul { display: grid; gap: .6rem; font-size: .92rem; }
.footer a { text-decoration: none; opacity: .88; }
.footer a:hover { opacity: 1; text-decoration: underline; }
.newsletter { padding: 1.75rem 0; border-block: 1px solid rgba(246, 242, 233, .16); display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; align-items: center; }
.newsletter h3 { margin: 0 0 .35rem; font: 400 1.5rem/1.2 var(--font-heading); letter-spacing: 0; text-transform: none; color: var(--color-cream); }
.newsletter p { font-size: .9rem; opacity: .8; }
.newsletter form { display: flex; gap: .5rem; }
.newsletter input { flex: 1; min-width: 0; min-height: 3rem; padding: .5rem 1.25rem; border: 0; border-radius: var(--radius-pill); background: var(--color-cream); color: var(--color-text); }
.newsletter__msg { grid-column: 2; min-height: 1.2rem; font-size: .82rem; color: var(--color-yellow); }
.footer__social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.footer__social a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid rgba(246, 242, 233, .35); border-radius: 50%; opacity: 1; }
.footer__social a:hover { background: var(--color-yellow); color: var(--color-text); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.25rem; font-size: .78rem; opacity: .7; }

/* ---------- Responsive ---------- */
@media (max-width: 989px) {
  .header { grid-template-columns: auto 1fr auto; }
  .header__inline-menu { display: none; }
  .header__menu-toggle { display: grid; }
  .header__heading-logo { justify-self: center; }
  .multicolumn, .discover-grid { grid-template-columns: repeat(2, 1fr); }
  .cooking-grid, .testimonials { grid-template-columns: 1fr; }
  .image-with-text, .b2b-teaser, .faq-layout, .newsletter { grid-template-columns: 1fr; }
  .newsletter__msg { grid-column: 1; }
  .image-with-text--reverse .image-with-text__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 749px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 1rem; gap: 1.25rem; }
  .hero__media--desktop { display: none; }
  .hero__media--mobile { display: block; order: -1; }
  .hero__buttons .button { flex: 1 1 100%; }
  .collection-list { grid-template-columns: repeat(2, 1fr); }
  .collection-card__title { font-size: 1.05rem; }
  .collection-card__body { flex-direction: column; align-items: flex-start; gap: .3rem; }
  .collection-card .ph { --ratio: 1 / 1; }
  .multicolumn { gap: .75rem; }
  .multicolumn-card { padding: 1.1rem; }
  .multicolumn-card h3 { font-size: 1.05rem; }
  .multicolumn-card p { font-size: .85rem; }
  .discover-grid { gap: .75rem; }
  .hero__strip ul { gap: .4rem 1.1rem; font-size: .8rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .story__timeline { gap: 1rem; }
}

/* Mobile: keep the page short — swipeable rows instead of stacked cards */
@media (max-width: 749px) {
  .cooking-grid, .testimonials { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .75rem; margin-inline: calc(var(--page-gutter) * -1); padding-inline: var(--page-gutter); scrollbar-width: none; }
  .cooking-card, .testimonial { flex: 0 0 82%; scroll-snap-align: center; }
  .cooking-card .ph { --ratio: 16 / 7; }
  .cooking-card ol { font-size: .88rem; }
  .collection-card .ph { --ratio: 4 / 3; }
  .card__badge { left: .9rem; font-size: .6rem; }
  .image-with-text__media .ph, .b2b-teaser .ph { --ratio: 16 / 9; }
  .discover-card .ph { --ratio: 4 / 3; }
}
