/* nordmannthuisbezorgd.nl: the shapes of a plain web shop over the shared theme. Flat cards with a
   thin line instead of shadows, a cream header, square-cornered buttons. The colours themselves
   come from theme-nordmann.css (tools/build-nordmann-theme.php); this file is written by hand.

   Every selector starts with "html" for the same reason as there: the header and footer bring
   their own styles further down the page and would otherwise win on order. */

:root {
    --nm-green: #183e32;
    --nm-green-hover: #2a5747;
    --nm-cream: #f7f4eb;
    --nm-paper: #fffef9;
    --nm-line: #dce3d8;
    --nm-muted: #53675b;
}

/* Header: cream bar under the green top bar. */
html .header-main,
html .header-main.home { background: var(--nm-cream); box-shadow: 0 1px 0 var(--nm-line); }
html .main-menu > ul > li > a { color: var(--nm-green); }
/* The header sets the logo's height; its width follows from the width and height attributes, so
   the menu next to it does not move once the image has loaded. */
html .header-logo img { width: auto; }
/* The logo is three times as wide as it is high. Below the desktop menu the shared theme gives it
   a fixed 100px height in a half-width column, which squeezes it; size it by width there. */
@media (max-width: 1199.98px) {
    html .header-logo img { width: 100%; max-width: 160px; height: auto; padding-top: 0; padding-bottom: 0; }
}
/* On a phone it shares the bar with the cart, language and menu buttons. */
@media (max-width: 575.98px) {
    html .header-logo img { max-width: 132px; }
}
/* On the desktop menu the shared 80 to 96px height made the wide logo dominate the bar. */
@media (min-width: 1200px) {
    html .header-logo img { height: 62px; padding-top: 0; padding-bottom: 0; }
}

/* Buttons: one flat green, no glow, no lift. */
html body .btn-primary,
html body .submit,
html body .hero-btn-enhanced,
html body #navbar-cta-btn,
html body .add-cart,
html body .tw-bg-primary { background: var(--nm-green) !important; background-image: none !important; color: #fff !important; border: 1px solid var(--nm-green) !important; border-radius: 4px !important; box-shadow: none !important; }
html body .btn-primary:hover,
html body .hero-btn-enhanced:hover,
html body #navbar-cta-btn:hover,
html body .tw-bg-primary:hover { background: var(--nm-green-hover) !important; border-color: var(--nm-green-hover) !important; }
html body .btn-primary::before,
html body .hero-btn-enhanced::before,
html body .hero-btn-enhanced::after { background: none !important; box-shadow: none !important; }

/* Hero: the round sticker becomes a quiet cream card. */
html .order-sticker { background: var(--nm-cream) !important; background-image: none !important; color: var(--nm-green) !important; border: 1px solid rgba(255, 255, 255, .45) !important; border-radius: 5px !important; box-shadow: 0 3px 18px rgba(0, 0, 0, .07) !important; transform: none !important; }
html .order-sticker span { color: var(--nm-green) !important; }
html .order-sticker::before,
html .order-sticker::after { display: none !important; }

/* The three selling points under the hero: line icon, title, one sentence, equal height. */
html body .single-feature.nordmann-usp { display: flex; align-items: flex-start; gap: 18px; height: 100%; min-height: 165px; padding: 28px 24px !important; text-align: left !important; background: var(--nm-paper) !important; background-image: none !important; border: 1px solid var(--nm-line) !important; border-radius: 5px !important; box-shadow: none !important; }
html body .single-feature.nordmann-usp::before,
html body .single-feature.nordmann-usp::after { display: none !important; }
html body .nordmann-usp-icon { flex: 0 0 42px; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #edf1e8; color: var(--nm-green); }
html body .nordmann-usp-icon svg { width: 25px; height: 25px; }
html body .nordmann-usp .feature-content { flex: 1; min-width: 0; }
html body .nordmann-usp .feature-content .title { margin: 2px 0 9px !important; color: var(--nm-green) !important; font-size: 18px !important; font-weight: 700 !important; line-height: 1.3 !important; }
html body .nordmann-usp .feature-content .sub-title { display: block !important; color: var(--nm-muted) !important; font-size: 14px !important; line-height: 1.55 !important; }
@media (max-width: 767px) {
    html body .single-feature.nordmann-usp { min-height: 0; gap: 16px; padding: 22px !important; }
    html body .nordmann-usp .feature-content .title { font-size: 17px !important; }
}

/* Product cards: a line instead of a shadow, no lift on hover. */
html .section-title .title { background: none; -webkit-text-fill-color: var(--nm-green); }
html .product-area .tw-rounded-lg { border: 1px solid var(--nm-line); border-radius: 5px !important; }
html .tw-rounded-md { border-radius: 4px !important; }
html .tw-shadow-sm,
html .tw-shadow-md,
html .tw-shadow-lg { box-shadow: none !important; }
html .tw-transform:hover { transform: none !important; }
/* The logo on a product photo sits clear of the photo's edge. The budget line's photos are
   landscape with a thin frame, shown in the middle of the square (990/1400 of its height), so the
   logo starts just below that frame; on the square photos it lands the same distance in. */
html .product-area .tw-aspect-square > a > .tw-absolute { top: calc(14.6% + 20px); left: 20px; height: auto; }
html .product-area .tw-aspect-square > a > .tw-absolute img { height: auto; }
html .tw-text-gray-900 { color: var(--nm-green); }

/* Product page: options as flat cards, gallery on cream, what the price covers. */
html .option-card { border-color: var(--nm-line); border-radius: 4px; box-shadow: none; }
html .option-card:has(input:checked) { background: #eef2e6; border-color: var(--nm-green); }
html .pgallery-main,
html .pgallery-thumb { background: var(--nm-cream) !important; }
html .price-includes-note { margin: 2px 0 0; color: #5f7165; font-size: 12px; font-weight: 400; line-height: 1.5; }

/* Cookie notice: "Weigeren" takes the same square corners as the green buttons. */
html .cookie-card-reject { border-color: var(--nm-line); border-radius: 4px; color: var(--nm-green); }

/* Questions: cream headings with a thin line. */
html .single-my-account h3.panel-title { background: var(--nm-cream); border-color: var(--nm-line); }

/* Footer: one green block. */
html .footer-area,
html .footer-bottom { background: var(--nm-green) !important; background-image: none !important; }
html .footer-area .footer-top .single-wedge .footer-herading { color: #fff; }
html .footer-area .footer-top .single-wedge .about-text,
html .footer-area .footer-top .single-wedge .footer-links .single-link,
html .footer-area .footer-top .single-wedge .footer-links p,
html .footer-area .footer-top .single-wedge .footer-links p a { color: #e0e8dd; }

/* Checkout: the notice for a place outside Groot Amsterdam and Groot Den Haag. */
html .city-area-notice { margin: 8px 0 0; padding: 10px 12px; border-left: 3px solid #b3261e; border-radius: 4px; background: #fbefee; color: #5a1a16; font-size: 14px; line-height: 1.5; }
html .city-area-notice a { color: inherit; font-weight: 700; text-decoration: underline; }

/* Homepage: the two delivery areas under the map, and their names on it. */
html .delivery-region-details { padding: 28px 0 8px; }
html .delivery-region-details h3 { margin-bottom: 8px; color: var(--nm-green); font-size: 22px; }
html .delivery-region-details p { margin-bottom: 6px; font-size: 16px; line-height: 1.65; }
html .delivery-area-label { border: 0; background: var(--nm-green); color: #fff; font-weight: 700; box-shadow: none; }
html .delivery-area-label::before { display: none; }

/* Services: the shared theme drops these table headings' background, so their text shows in green
   on white; here the background does show, in the same green as the text. */
html body[data-views~="site.pages.posts.template-services"] th { color: #fff; }

/* Product and services pages: how the tree is handed over, set apart from the sales text. */
html .handover-note { margin: 12px 0 0; padding: 10px 12px; border-left: 3px solid var(--nm-green); border-radius: 4px; background: #eef2e6; color: var(--nm-green); font-size: 14px; line-height: 1.5; }
