/* Quackers Maccas template 1.0 (Owlet CMS 2.8).
   Matches their live site (quackersmaccas.com.au, read 3 Dec 2026): the round duck stamp logo on a white header with a
   dark SHOP NOW button, the dark macadamia photo opening with white Merriweather words and a green button, photo tiles,
   the navy bands (#0E1533) and the navy footer with the Keep me posted form.
   Changed for readability: the tiles' and the feature card's faint grey headings and buttons (about 1.6:1 on white on the
   live site) are dark here, and the page sits full width rather than in a 1400px box on charcoal. */

:root {
  --qm-head: "Merriweather", var(--font-heading), Georgia, serif;
  --qm-body: "Open Sans", var(--font-body), Arial, sans-serif;
  --qm-navy: #0E1533;
  --qm-green: var(--c-primary, #0B662D);
  --qm-green-dark: var(--c-primary-dark, #08501F);
  --qm-dark: #333333;
  --qm-ink: #222222;
  --qm-head-ink: #3E3E3E;
  --qm-grey: #595959;          /* body words: 7:1 on white */
  --qm-cream: #F4F1E8;
  --qm-line: #E4E0D6;
  --qm-wrap: 1240px;
  --qm-space: clamp(3rem, 6vw, 5rem);
}

body { font-family: var(--qm-body); color: var(--qm-ink); background: #fff; }
body h1, body h2, body h3, body h4 { font-family: var(--qm-head); font-weight: 400; letter-spacing: 0; color: var(--qm-head-ink); }
body .btn, body .site-nav, body input, body textarea, body select, body button { font-family: var(--qm-body); }
.qm-wrap { width: min(var(--qm-wrap), 100% - 2.5rem); margin-inline: auto; }
.qm-section { padding-block: var(--qm-space); }
.qm-centre { text-align: center; }
.qm-text { color: var(--qm-grey); }
.qm-text p { font-size: 1.0625rem; line-height: 1.75; margin: 0 0 1rem; }
.qm-text > :last-child { margin-bottom: 0; }
.qm-text a { color: var(--qm-green); }
.qm-h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.25; margin: 0 0 1rem; }
.qm-kicker { font-family: var(--qm-body); font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .75rem; color: #fff; }
.qm-kicker--dark { color: var(--qm-grey); }
.qm-head { text-align: center; max-width: 46rem; margin: 0 auto 2.5rem; }
.qm-rule { display: block; width: 2.5rem; height: 1px; background: currentColor; opacity: .5; margin: 1rem auto 1.5rem; }
.qm-actions { margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.qm-actions--center { justify-content: center; }

/* ---------- buttons: square, small capitals; dark grey (header, tiles) or green (opening) ---------- */
body .btn { border-radius: 0; font-weight: 600; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; padding: .95rem 2rem; line-height: 1.2; box-shadow: none; }
body .btn--primary { background: var(--qm-green); border: 2px solid var(--qm-green); color: #fff; }
body .btn--primary:hover, body .btn--primary:focus-visible { background: var(--qm-green-dark); border-color: var(--qm-green-dark); color: #fff; }
body .btn--ghost, body .btn--outline { background: transparent; border: 2px solid var(--qm-dark); color: var(--qm-dark); }
body .btn--light { background: #fff; border: 2px solid #fff; color: var(--qm-ink); }
.qm-btn-dark .btn, .qm-btn-dark.btn { background: var(--qm-dark); border-color: var(--qm-dark); color: #fff; }
.qm-btn-dark .btn:hover, .qm-btn-dark .btn:focus-visible, .qm-btn-dark.btn:hover, .qm-btn-dark.btn:focus-visible { background: #111; border-color: #111; color: #fff; }
.qm-btn-green .btn { background: var(--qm-green); border-color: var(--qm-green); color: #fff; }

/* ---------- header: logo left, menu in the middle, SHOP NOW on the right ---------- */
.qm-header { background: #fff; border-bottom: 1px solid var(--qm-line); }
.qm-header .site-header__inner { min-height: 7.5rem; gap: 1.5rem; }
.qm-brand img { height: 5.75rem; width: auto; }
.qm-nav ul { gap: .25rem 1.25rem; }
.qm-nav a { font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--qm-ink); }
.qm-nav > ul > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--qm-ink); }
@media (min-width: 64em) {
  .qm-nav { flex: 1; justify-content: flex-end; }
  .qm-nav > ul { margin-inline: auto; }
}
.qm-header .site-nav__btn { padding: .9rem 1.6rem; }
.qm-header.is-slim .qm-brand img, .qm-header.is-shrunk .qm-brand img { height: 3.75rem; }

/* ---------- opening: the macadamia photo, darkened at the right, words in the right half ---------- */
.qm-hero { position: relative; isolation: isolate; min-height: clamp(30rem, 72vh, 44rem); display: grid; align-items: center; background: var(--qm-navy); color: #fff; overflow: hidden; }
.qm-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; z-index: -2; }
.qm-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 15, 35, .05) 20%, rgba(10, 15, 35, .7) 60%); }
.qm-hero__inner { display: flex; justify-content: flex-end; padding-block: 4rem; }
.qm-hero__text { width: min(36rem, 100%); text-align: center; }
.qm-hero__h { color: #fff !important; font-size: clamp(2.25rem, 1.4rem + 3vw, 3.75rem); line-height: 1.2; margin: 0 0 1.25rem; }
.qm-hero__lead p { font-size: 1.125rem; line-height: 1.7; margin: 0 auto; max-width: 28rem; color: #fff; }
@media (max-width: 47.99em) {
  .qm-hero::after { background: rgba(10, 15, 35, .62); }
  .qm-hero__inner { justify-content: center; }
}

/* ---------- photo tiles: photo, words, photo, words ---------- */
.qm-tiles__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
.qm-tile { display: grid; grid-template-columns: 1fr 1fr; min-height: 22rem; }
.qm-tile__photo { margin: 0; }
.qm-tile__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qm-tile__text { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem 1.25rem; background: #fff; color: var(--qm-head-ink); }
.qm-tile__h { font-size: clamp(1.4rem, 1rem + 1vw, 1.9rem); text-transform: uppercase; margin: 0; line-height: 1.25; }
.qm-tile__text p { margin: 0; }
@media (max-width: 63.99em) { .qm-tiles__grid { grid-template-columns: 1fr; } }
@media (max-width: 29.99em) { .qm-tile { min-height: 15rem; } }

/* ---------- our range ---------- */
.qm-range { background: var(--qm-cream); }
.qm-range__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); gap: 1.75rem; }
.qm-product__link { display: flex; flex-direction: column; height: 100%; background: #fff; text-decoration: none; color: var(--qm-ink); border: 1px solid var(--qm-line); transition: box-shadow .2s, transform .2s; }
.qm-product__link:hover, .qm-product__link:focus-visible { box-shadow: 0 10px 24px rgba(14, 21, 51, .12); transform: translateY(-2px); }
.qm-product__photo { aspect-ratio: 1; overflow: hidden; display: block; }
.qm-product__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qm-product__name { font-family: var(--qm-head); font-size: 1.125rem; line-height: 1.35; padding: 1rem 1.1rem .35rem; }
.qm-product__price { padding: 0 1.1rem 1.1rem; color: var(--qm-green); font-weight: 600; margin-top: auto; }
@media (prefers-reduced-motion: reduce) { .qm-product__link { transition: none; } .qm-product__link:hover { transform: none; } }
html.oa-still .qm-product__link { transition: none; transform: none; }

/* ---------- the navy band: photo, white card, and the line under them ---------- */
.qm-navy { background: var(--qm-navy); color: #fff; }
.qm-collection { padding-block: var(--qm-space); }
.qm-collection__grid { display: grid; grid-template-columns: 1fr minmax(16rem, .65fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: stretch; }
.qm-collection__photo { margin: 0; }
.qm-collection__photo img { width: 100%; height: 100%; min-height: 18rem; object-fit: cover; display: block; }
.qm-collection__card { background: #fff; color: var(--qm-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 3rem 1.5rem; }
.qm-collection__h { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); text-transform: uppercase; margin: 0; line-height: 1.25; }
.qm-collection__card p { margin: 0; }
.qm-statement { font-family: var(--qm-head); font-size: clamp(1.4rem, 1rem + 1.5vw, 2.1rem); line-height: 1.4; text-align: center; margin-top: var(--qm-space); margin-bottom: 0; color: #fff; }
@media (max-width: 47.99em) { .qm-collection__grid { grid-template-columns: 1fr; } }

/* ---------- from our farm ---------- */
.qm-story__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.qm-story__photo { margin: 0; }
.qm-story__photo img { width: 100%; height: auto; display: block; }
@media (max-width: 47.99em) { .qm-story__grid { grid-template-columns: 1fr; } }

/* ---------- photo row ---------- */
.qm-photos { padding-top: 0; }
.qm-photos__grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.qm-photos__grid img { width: 100%; aspect-ratio: 1.1; object-fit: cover; display: block; }
.qm-story + .qm-photos { padding-top: 0; }
@media (max-width: 47.99em) { .qm-photos__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }

/* ---------- inner pages: the page heading over the banner photo, or plain ---------- */
.qm-pagehead { position: relative; isolation: isolate; text-align: center; padding-block: clamp(4rem, 10vw, 7.5rem); background: var(--qm-navy); color: #fff; }
.qm-pagehead .owl-page__image--banner { position: absolute; inset: 0; margin: 0; z-index: -2; width: 100%; max-width: none; border-radius: 0; }
.qm-pagehead .owl-page__image--banner img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; }
.qm-pagehead > .wrap { text-align: center; }
.qm-pagehead > .wrap > h1 { margin-inline: auto; max-width: none; }
.qm-pagehead:has(.owl-page__image--banner)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 15, 35, .45); }
.qm-pagehead__title { color: #fff !important; font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); margin: 0; }
.qm-pagehead .page-hero__lead { color: #fff; margin: 1rem auto 0; max-width: 40rem; font-size: 1.125rem; }
.qm-pagehead--plain { padding-block: clamp(3rem, 7vw, 5rem); }
.qm-page .owl-page__wrap { color: var(--qm-grey); }
.qm-page .owl-page__wrap p, .qm-page .owl-page__wrap li { font-size: 1.0625rem; line-height: 1.75; }
.qm-page .owl-page__wrap h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); color: var(--qm-head-ink); }
.qm-page .owl-page__wrap h3 { font-size: 1.25rem; color: var(--qm-head-ink); }
.qm-page .owl-page__wrap a:not(.btn) { color: var(--qm-green); }
.qm-page .owl-page__wrap a.btn--primary { color: #fff; }
.qm-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.qm-split__h { font-size: clamp(2rem, 1.4rem + 2vw, 3rem) !important; line-height: 1.2; margin: 0; }
.qm-split + .qm-split { margin-top: 3rem; }
.qm-figure { margin: 2.5rem 0 0; }
.qm-figure img { width: 100%; height: auto; display: block; }
.qm-narrow { max-width: 46rem; margin-inline: auto; }
.qm-note { background: var(--qm-cream); border-left: 4px solid var(--qm-green); padding: 1rem 1.25rem; }
@media (max-width: 47.99em) { .qm-split { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.qm-contact__mapwrap { padding-top: var(--qm-space); }
.qm-map { width: 100%; height: clamp(18rem, 40vw, 28rem); border: 0; display: block; }
.qm-contact__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem; text-align: center; }
.qm-contact__card { border: 1px solid var(--qm-line); padding: 2rem 1.25rem; }
.qm-contact__h { font-size: 1.25rem; margin: 0 0 .75rem; }
.qm-contact__card p { margin: 0; color: var(--qm-grey); font-size: 1.0625rem; }
.qm-contact__card a { color: var(--qm-ink); }
.qm-cream { background: var(--qm-cream); }
.qm-contact__form { max-width: 44rem; }

/* ---------- footer: Keep me posted, the name and links with the logo, and the contact details ---------- */
.qm-footer { background: var(--qm-navy); color: #fff; padding-top: clamp(3rem, 6vw, 4.5rem); }
.qm-footer a { color: #fff; }
.qm-footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; text-align: center; align-items: start; padding-bottom: 3rem; }
.qm-footer__h { color: #fff !important; font-size: 1.375rem; margin: 0 0 .6rem; }
.qm-footer__signup p { margin: 0 0 1.25rem; font-size: 1rem; }
.qm-footer__name { font-family: var(--qm-head); font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.4rem); margin: 0 0 .75rem; line-height: 1.2; }
.qm-footer__menu ul { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.75rem; }
.qm-footer__menu a { text-decoration: none; font-size: 1rem; }
.qm-footer__menu a:hover, .qm-footer__menu a:focus-visible { text-decoration: underline; }
.qm-footer__logo img { width: 8.75rem; height: auto; display: inline-block; }
.qm-footer__details { list-style: none; margin: 2.25rem 0 1.25rem; padding: 0; line-height: 1.8; font-size: 1rem; }
.qm-footer__details a { text-decoration: none; }
.qm-social { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: .6rem; }
.qm-social a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #fff; color: var(--qm-navy); }
.qm-social svg { width: 1.15rem; height: 1.15rem; }
.qm-credit { background: #090E24; }
.qm-credit .site-credit__inner { color: #fff; }
.qm-credit a { color: #fff; }
@media (max-width: 63.99em) { .qm-footer__grid { grid-template-columns: 1fr; } .qm-footer__details { margin-top: 0; } }

/* the Keep me posted form on navy: white boxes, a white button */
.qm-signup { max-width: 20rem; margin-inline: auto; text-align: left; }
.qm-signup form, .qm-signup .owl-form { background: transparent; padding: 0; border: 0; box-shadow: none; }
.qm-signup label, .qm-signup .owl-form label, .qm-signup legend, .qm-signup .form-field__label { color: #fff; }
.qm-signup input[type="text"], .qm-signup input[type="email"] { background: #fff; color: var(--qm-ink); border: 1px solid #fff; border-radius: 0; }
.qm-signup .btn, .qm-signup button[type="submit"] { background: #fff; border-color: #fff; color: var(--qm-ink); width: auto; margin-inline: auto; display: block; }
.qm-signup .btn:hover, .qm-signup button[type="submit"]:hover, .qm-signup button[type="submit"]:focus-visible { background: var(--qm-cream); border-color: var(--qm-cream); color: var(--qm-ink); }
.qm-signup a, .qm-signup .field__hint { color: #fff; }

/* ---------- the shop (the kit's shop pages, in the template's look) ---------- */
.shop-main .page-hero.shop-hero { background: var(--qm-navy); color: #fff; }
.shop-main .shop-hero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); }
.shop-main .shop-hero .page-hero__lead, .shop-main .shop-hero .shop-crumbs, .shop-main .shop-hero .shop-crumbs a { color: #fff; }
.shop-main .shop-card__name { font-family: var(--qm-head); }
.shop-main .shop-card__price, .shop-main .shop-buy__price { color: var(--qm-green); }
.shop-main .shop-cats a[aria-current="page"] { background: var(--qm-ink); border-color: var(--qm-ink); color: #fff; }
.shop-desc .qm-nip { margin-top: 1.5rem; }
.qm-nip summary { cursor: pointer; font-weight: 600; padding: .85rem 1rem; border: 1px solid var(--qm-line); list-style-position: inside; }
.qm-nip[open] summary { border-bottom: 0; }
.qm-nip__body { border: 1px solid var(--qm-line); border-top: 0; padding: 1rem; overflow-x: auto; }
.qm-nip table { border-collapse: collapse; width: 100%; min-width: 18rem; font-size: .95rem; }
.qm-nip caption { text-align: left; font-weight: 600; padding-bottom: .5rem; }
.qm-nip th, .qm-nip td { border-bottom: 1px solid var(--qm-line); padding: .45rem .5rem; text-align: right; }
.qm-nip th[scope="row"], .qm-nip thead th:first-child { text-align: left; font-weight: 400; }
.qm-nip thead th { font-weight: 600; }
.qm-nip p { margin: .75rem 0 0; }
.qm-allergen { display: inline-block; background: var(--qm-cream); border: 1px solid var(--qm-line); padding: .25rem .7rem; font-weight: 600; font-size: .9rem; }
@media (max-width: 39.99em) {
  .qm-range__grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .qm-product__name { font-size: 1rem; padding: .75rem .75rem .25rem; }
  .qm-product__price { padding: 0 .75rem .75rem; font-size: .9rem; }
}
.shop-main .shop-now small { opacity: 1; color: var(--qm-green-dark); }
