/* Icons: Material Symbols (Outlined, weight 300; Apache-2.0, LICENSE in icons/), self-hosted SVGs drawn with
   mask-image in the text colour. This file is the single map of where icons appear.
   Rule: icons mark actions that leave the reading flow (call, WhatsApp, email, directions, booking, the printed
   menu, a download) and practical facts (hours, address, dress code); navigation links ("Explore …", menus,
   in-text links) and editorial content stay text. Links get their icon from where they lead, so new buttons
   need no setup; ".mdb-no-icon" on a button opts out. */

/* Shared drawing: an element (.mdb-icon) or a pseudo-element that sets --i. */
.mdb-icon,
.wp-block-button__link:is([href^="tel:"], [href*="wa.me/"], [href^="mailto:"], [href*="share.google"], [href*="google.com/maps"], [href^="#mdb-book-"], [href$=".pdf"], [data-mdb-route="reservations"])::before,
.mdb-footer a:is([href^="tel:"], [href^="mailto:"], [data-mdb-route="reservations"])::before,
.mdb-footer a:is([href*="wa.me/"], [href*="share.google"], [href*="instagram.com"], [href*="facebook.com"])::after,
.mdb-find-us-card .mdb-kicker + p::before,
.mdb-visit-hours__row dt::before,
.mdb-visit-facts > li::before,
.mdb-tasting__facts dd::before,
.mdb-tasting__pairing::before,
.mdb-moment__pairing::before,
.mdb-day-stop__hours::before,
.mdb-booking-month button::before,
.mdb-booking-back-link::before,
.mdb-bk-summary-row dt::before,
.mdb-booking-status[data-tone] > strong::before,
.mdb-event-tile__link::after,
.mdb-events-empty__icon,
.mdb-experience-faq summary::after {
  content: "";
  display: inline-block;
  flex: none;
  width: 1.2em;
  height: 1.2em;
  vertical-align: -.24em;
  background-color: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
  mask: var(--i) center / contain no-repeat;
}
.mdb-icon { --i: none; }
.mdb-icon--small { width: .95em; height: .95em; }

/* Names (for .mdb-icon elements made by scripts). */
.mdb-i-close { --i: url("icons/close.svg"); }
.mdb-i-chevron_left { --i: url("icons/chevron_left.svg"); }
.mdb-i-chevron_right { --i: url("icons/chevron_right.svg"); }
.mdb-i-arrow_back { --i: url("icons/arrow_back.svg"); }
.mdb-i-arrow_forward { --i: url("icons/arrow_forward.svg"); }
.mdb-i-download { --i: url("icons/download.svg"); }

/* Action buttons, anywhere on a page (header excluded: its booking button stays plain). */
.wp-block-button__link[href^="tel:"] { --i: url("icons/call.svg"); }
.wp-block-button__link[href*="wa.me/"] { --i: url("icons/chat.svg"); }
.wp-block-button__link[href^="mailto:"] { --i: url("icons/mail.svg"); }
.wp-block-button__link:is([href*="share.google"], [href*="google.com/maps"]) { --i: url("icons/directions.svg"); }
.wp-block-button__link[href^="#mdb-book-"] { --i: url("icons/menu_book.svg"); }
.wp-block-button__link[href$=".pdf"] { --i: url("icons/download.svg"); }
.wp-block-button__link[data-mdb-route="reservations"] { --i: url("icons/event_available.svg"); }
.wp-block-button__link:is([href^="tel:"], [href*="wa.me/"], [href^="mailto:"], [href*="share.google"], [href*="google.com/maps"], [href^="#mdb-book-"], [href$=".pdf"], [data-mdb-route="reservations"])::before { margin-right: .6em; }
:is(.mdb-header, .mdb-no-icon) .wp-block-button__link::before,
.wp-block-button.mdb-no-icon .wp-block-button__link::before { content: none !important; }

/* Footer: booking contacts lead with their icon; links that leave the site end with an outward arrow. */
.mdb-footer a[href^="tel:"] { --i: url("icons/call.svg"); }
.mdb-footer a[href^="mailto:"] { --i: url("icons/mail.svg"); }
.mdb-footer a[data-mdb-route="reservations"] { --i: url("icons/event_available.svg"); }
.mdb-footer a:is([href^="tel:"], [href^="mailto:"], [data-mdb-route="reservations"])::before { width: 1.15em; height: 1.15em; margin-right: .55em; opacity: .75; }
.mdb-footer a:is([href*="wa.me/"], [href*="share.google"], [href*="instagram.com"], [href*="facebook.com"]) { --i: url("icons/north_east.svg"); }
.mdb-footer a:is([href*="wa.me/"], [href*="share.google"], [href*="instagram.com"], [href*="facebook.com"])::after { width: .8em; height: .8em; margin-left: .35em; vertical-align: -.05em; opacity: .6; }

/* Events page cards ([mdb_events]): the Instagram link leaves the site; the empty state names the calendar. */
.mdb-event-tile__link { --i: url("icons/north_east.svg"); }
.mdb-event-tile__link::after { width: .85em; height: .85em; margin-left: .4em; vertical-align: -.08em; opacity: .7; }
.mdb-events-empty__icon { --i: url("icons/event_available.svg"); width: 34px; height: 34px; }

/* FAQ questions: a chevron that turns when the answer opens (motion in premium.js). */
.mdb-experience-faq summary { --i: url("icons/keyboard_arrow_down.svg"); }
.mdb-experience-faq summary::after { width: 1.3em; height: 1.3em; margin-left: auto; opacity: .7; transition: rotate .32s var(--mdb-motion-ease, ease); }
.mdb-experience-faq details[open]:not(.is-closing) summary::after { rotate: 180deg; }

/* Practical facts: address, opening hours (icon chosen by the plugin from the time of day), visit facts. */
.mdb-find-us-card .mdb-kicker + p { --i: url("icons/location_on.svg"); }
.mdb-find-us-card .mdb-kicker + p::before { margin-right: .5em; color: var(--mdb-gold, #c9ae79); }
.mdb-visit-hours__row dt { --i: url("icons/schedule.svg"); }
.mdb-visit-hours__row[data-icon="morning"] dt { --i: url("icons/coffee.svg"); }
.mdb-visit-hours__row[data-icon="meal"] dt { --i: url("icons/restaurant.svg"); }
.mdb-visit-hours__row[data-icon="night"] dt { --i: url("icons/local_bar.svg"); }
.mdb-visit-hours__row dt::before { margin-right: .6em; color: var(--mdb-gold, #c9ae79); }
/* Visit facts are written as dress code, payment, parking (in that order; other lists get a quiet check). */
.mdb-visit-facts > li { --i: url("icons/check.svg"); list-style: none; }
.mdb-visit-facts > li:nth-child(1):nth-last-child(3) { --i: url("icons/checkroom.svg"); }
.mdb-visit-facts > li:nth-child(2):nth-last-child(2) { --i: url("icons/payments.svg"); }
.mdb-visit-facts > li:nth-child(3):nth-last-child(1) { --i: url("icons/local_parking.svg"); }
.mdb-visit-facts > li::before { margin-right: .6em; color: var(--mdb-gold, #c9ae79); }

/* Tasting menu: facts (days and hours, the price for two, the service charge on top) and the wine pairing mark. */
.mdb-tasting__facts > div:nth-child(1) dd { --i: url("icons/schedule.svg"); }
.mdb-tasting__facts > div:nth-child(2) dd { --i: url("icons/group.svg"); }
.mdb-tasting__facts .mdb-tasting__service { --i: url("icons/payments.svg"); }
.mdb-tasting__facts dd::before { margin-right: .5em; }
.mdb-tasting__price::before { width: 1rem !important; height: 1rem !important; vertical-align: .05em !important; }
.mdb-tasting__pairing { --i: url("icons/wine_bar.svg"); }
.mdb-tasting__pairing::before { width: 1.1em; height: 1.1em; margin-right: .35em; }
.mdb-moment__pairing { --i: url("icons/wine_bar.svg"); }
.mdb-moment__pairing::before { align-self: center; width: 1.1em; height: 1.1em; color: var(--mdb-gold, #c9ae79); }
.mdb-day-stop__hours { --i: url("icons/schedule.svg"); }
.mdb-day-stop__hours::before { width: 1.25em; height: 1.25em; margin-right: .45em; }

/* Booking widget: month arrows, back link, summary rows and outcome banners. */
.mdb-booking-month button:first-of-type { --i: url("icons/chevron_left.svg"); }
.mdb-booking-month button:last-of-type { --i: url("icons/chevron_right.svg"); }
.mdb-booking-month button::before { width: 1.4em; height: 1.4em; vertical-align: middle; }
.mdb-booking-back-link { --i: url("icons/arrow_back.svg"); }
.mdb-booking-back-link::before { margin-right: .45em; }
.mdb-bk-summary-row[data-summary="offering"] dt { --i: url("icons/restaurant.svg"); }
.mdb-bk-summary-row[data-summary="guests"] dt { --i: url("icons/group.svg"); }
.mdb-bk-summary-row[data-summary="date"] dt { --i: url("icons/calendar_today.svg"); }
.mdb-bk-summary-row[data-summary="time"] dt { --i: url("icons/schedule.svg"); }
.mdb-bk-summary-row dt::before { margin-right: .5em; opacity: .8; }
.mdb-bk-summary-row:not([data-summary]) dt::before { content: none; }
.mdb-booking-status[data-tone="success"] > strong { --i: url("icons/check_circle.svg"); }
.mdb-booking-status[data-tone="error"] > strong,
.mdb-booking-status[data-tone="warning"] > strong { --i: url("icons/error.svg"); }
.mdb-booking-status[data-tone] > strong::before { margin-right: .45em; }
.mdb-booking-status[data-tone="info"] > strong::before { content: none; }

/* Header navigation: the drawer's open and close, and the dropdown chevrons, in the same family. */
/* Core styles its own SVGs with higher specificity; hide them firmly so only one icon shows. */
.wp-block-navigation .wp-block-navigation__responsive-container-open svg,
.wp-block-navigation .wp-block-navigation__responsive-container-close svg,
.wp-block-navigation .wp-block-navigation__submenu-icon svg { display: none !important; }
.wp-block-navigation__responsive-container-open::before,
.wp-block-navigation__responsive-container-close::before,
.wp-block-navigation__submenu-icon::before { content: ""; display: block; background-color: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.wp-block-navigation__responsive-container-open { --i: url("icons/menu.svg"); }
.wp-block-navigation__responsive-container-close { --i: url("icons/close.svg"); }
.wp-block-navigation__responsive-container-open::before,
.wp-block-navigation__responsive-container-close::before { width: 28px; height: 28px; }
.wp-block-navigation__submenu-icon { --i: url("icons/keyboard_arrow_down.svg"); }
/* A full 24 px tap target (WCAG 2.2 target size), with the 14 px chevron centred in it. */
.wp-block-navigation .wp-block-navigation__submenu-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; }
.wp-block-navigation__submenu-icon::before { flex: none; width: 14px; height: 14px; }
