/* Huddle – Henna Huddle ticket shop. Child of Hummingbird (Bootstrap 5.3).
   Palette, fonts and components mirror the WordPress Huddle theme (wordpress/themes/hennahuddle/theme.json).
   Loaded after Hummingbird's theme.css (priority 900). */

/* Fonts (OFL, self-hosted, same files as the WordPress theme) ------------------------------- */
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/baloo-2-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/baloo-2-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("../fonts/nunito-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito Sans"; font-style: italic; font-weight: 200 1000; font-display: swap;
  src: url("../fonts/nunito-sans-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("../fonts/nunito-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Tokens ------------------------------------------------------------------------------------ */
:root {
  --hh-teal: #038988; --hh-teal-deep: #026766; --hh-mint: #3ecd97; --hh-mint-pale: #e3f7ef;
  --hh-henna: #b4501f; --hh-henna-deep: #7a2e14; --hh-saffron: #e8a33d;
  --hh-jagua: #18222f; --hh-jagua-ink: #2c3e57; --hh-ivory: #fbf7f1; --hh-sand: #f1e6d6; --hh-white: #fff;
  --hh-heading: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --hh-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --hh-radius: 14px; --hh-radius-lg: 18px;
  --hh-shadow: 0 1px 2px rgba(24, 34, 47, .06), 0 8px 24px rgba(24, 34, 47, .06);

  /* Bootstrap 5.3 variables used by Hummingbird. Deep teal is the action colour: white on #026766 is AA. */
  --bs-primary: var(--hh-teal-deep); --bs-primary-rgb: 2, 103, 102;
  --bs-secondary: var(--hh-henna); --bs-secondary-rgb: 180, 80, 31;
  --bs-success: #1f7a55; --bs-success-rgb: 31, 122, 85;
  --bs-body-font-family: var(--hh-body); --bs-body-color: var(--hh-jagua); --bs-body-color-rgb: 24, 34, 47;
  --bs-body-bg: var(--hh-ivory); --bs-body-bg-rgb: 251, 247, 241;
  --bs-emphasis-color: var(--hh-jagua); --bs-heading-color: var(--hh-jagua);
  --bs-link-color: var(--hh-teal-deep); --bs-link-color-rgb: 2, 103, 102;
  --bs-link-hover-color: var(--hh-henna); --bs-link-hover-color-rgb: 180, 80, 31;
  --bs-border-color: #e4dccf; --bs-border-radius: 10px; --bs-border-radius-lg: var(--hh-radius);
  --bs-focus-ring-color: rgba(232, 163, 61, .6);
}

body { font-family: var(--hh-body); color: var(--hh-jagua); background: var(--hh-ivory); }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .page-title, .product__name {
  font-family: var(--hh-heading); font-weight: 700; color: var(--hh-jagua); line-height: 1.15;
}
a:not(.btn) { color: var(--hh-teal-deep); }
a:not(.btn):hover { color: var(--hh-henna); }
a.btn { color: var(--bs-btn-color); }
a.btn:hover, a.btn:focus-visible { color: var(--bs-btn-hover-color); }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--hh-saffron); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Buttons ------------------------------------------------------------------------------------ */
.btn { font-weight: 800; border-radius: 999px; }
.btn-primary {
  --bs-btn-bg: var(--hh-teal-deep); --bs-btn-border-color: var(--hh-teal-deep); --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--hh-jagua); --bs-btn-hover-border-color: var(--hh-jagua); --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--hh-jagua); --bs-btn-active-border-color: var(--hh-jagua);
  --bs-btn-disabled-bg: #6f9c9b; --bs-btn-disabled-border-color: #6f9c9b;
  --bs-btn-focus-shadow-rgb: 232, 163, 61;
}
.btn-outline-primary {
  --bs-btn-color: var(--hh-teal-deep); --bs-btn-border-color: var(--hh-teal-deep);
  --bs-btn-hover-bg: var(--hh-teal-deep); --bs-btn-hover-border-color: var(--hh-teal-deep); --bs-btn-hover-color: #fff;
}
.btn-secondary, .btn-outline-secondary { --bs-btn-color: var(--hh-henna-deep); --bs-btn-border-color: var(--hh-henna);
  --bs-btn-bg: transparent; --bs-btn-hover-bg: var(--hh-henna); --bs-btn-hover-border-color: var(--hh-henna); --bs-btn-hover-color: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--hh-teal); box-shadow: 0 0 0 .2rem rgba(3, 137, 136, .2); }
.form-check-input:checked { background-color: var(--hh-teal-deep); border-color: var(--hh-teal-deep); }

/* Header (same structure as the WordPress .huddle-header) ------------------------------------ */
.huddle-header { position: sticky; top: 0; z-index: 1020; background: #fff;
  border-bottom: 1px solid color-mix(in srgb, var(--hh-teal) 18%, transparent); }
.huddle-header__inner { display: flex; align-items: center; gap: 1rem; padding-top: .6rem; padding-bottom: .6rem; flex-wrap: wrap; }
.huddle-brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; margin-right: auto; }
.huddle-brand__logo { width: 64px; height: 64px; object-fit: contain; }
.huddle-brand__text { display: flex; flex-direction: column; }
.huddle-brand__title { font-family: var(--hh-heading); font-weight: 800; font-size: 1.35rem; line-height: 1; color: var(--hh-teal-deep); margin: 0; }
.huddle-brand__tag { font-size: .8125rem; line-height: 1.2; color: var(--hh-jagua-ink); }
.huddle-brand:hover .huddle-brand__title { color: var(--hh-henna); }

.huddle-nav { order: 3; width: 100%; }
.huddle-nav__button { display: inline-flex; align-items: center; gap: .35rem; background: none; border: 0; padding: .35rem .25rem;
  font-weight: 800; color: var(--hh-jagua); }
.huddle-nav__list { list-style: none; margin: 0; padding: .5rem 0; }
.huddle-nav__list a { display: block; padding: .45rem .25rem; font-weight: 700; font-size: .975rem; color: var(--hh-jagua); text-decoration: none; }
.huddle-nav__list a:hover, .huddle-nav__list a:focus { color: var(--hh-henna); }
.huddle-nav__sub { list-style: none; padding-left: 1rem; margin: 0; }
.huddle-header__actions { display: flex; align-items: center; gap: .5rem; order: 2; }
.huddle-header__actions .header-block__action-btn { color: var(--hh-jagua); }
.huddle-header__actions .header-block__badge { background: var(--hh-henna); color: #fff; }
.huddle-header__cta { padding: .55rem 1.1rem; white-space: nowrap; }

@media (min-width: 1000px) {
  .huddle-header__inner { flex-wrap: nowrap; }
  .huddle-nav { order: 2; width: auto; }
  .huddle-header__actions { order: 3; }
  .huddle-nav__button { display: none; }
  .huddle-nav__list, .huddle-nav__list.collapse:not(.show) { display: flex; gap: 1.4rem; padding: 0; }
  .huddle-nav__item { position: relative; }
  .huddle-nav__sub { position: absolute; left: -1rem; top: 100%; min-width: 14rem; padding: .4rem 0; background: #fff;
    border-radius: 10px; box-shadow: 0 10px 30px rgba(24, 34, 47, .15); display: none; z-index: 30; }
  .huddle-nav__sub a { padding: .45rem 1rem; }
  .huddle-nav__item--has-sub:hover > .huddle-nav__sub,
  .huddle-nav__item--has-sub:focus-within > .huddle-nav__sub { display: block; }
}
@media (max-width: 780px) { .huddle-brand__tag { display: none; } .huddle-header__cta { padding: .45rem .9rem; font-size: .875rem; } }
@media (max-width: 420px) { .huddle-brand__text { display: none; } }

/* Page furniture ----------------------------------------------------------------------------- */
#wrapper, .wrapper { background: var(--hh-ivory); }
.breadcrumb { --bs-breadcrumb-item-active-color: var(--hh-jagua-ink); font-size: .9rem; }
.page-title, h1.h1 { position: relative; padding-bottom: .35em; }
.page-title::after, h1.h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 4.5rem; height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, var(--hh-teal) 0%, var(--hh-mint) 55%, var(--hh-saffron) 100%); }
.card, .product-miniature, .checkout-step, .cart-summary, .cart-grid__body, .checkout-grid__aside-wrapper .accordion-item,
.customer-link, .page-content.card { border-radius: var(--hh-radius-lg); border-color: transparent; box-shadow: var(--hh-shadow); background: #fff; }
.product-miniature { overflow: hidden; }
.product-miniature__title, .product-miniature__title a { font-family: var(--hh-heading); font-weight: 700; color: var(--hh-jagua); }
.product-miniature__price, .product__current-price, .price { color: var(--hh-henna-deep); font-weight: 800; }
.badge.bg-primary, .product-flag.new, .product-flag.on-sale, .product-flag.discount { background: var(--hh-henna) !important; }

/* Shop menu: ticket categories under the header ------------------------------------------- */
.huddle-shopnav { background: var(--hh-mint-pale); border-bottom: 1px solid color-mix(in srgb, var(--hh-teal) 18%, transparent); }
.huddle-shopnav__list { list-style: none; margin: 0; padding: .35rem 0; display: flex; gap: .4rem; overflow-x: auto;
  scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.huddle-shopnav__link { display: inline-block; white-space: nowrap; padding: .4rem .9rem; border-radius: 999px; font-weight: 800;
  font-size: .95rem; text-decoration: none; color: var(--hh-teal-deep); background: #fff; border: 1px solid color-mix(in srgb, var(--hh-teal) 25%, transparent); }
a.huddle-shopnav__link:hover, a.huddle-shopnav__link:focus-visible { background: var(--hh-teal-deep); color: #fff; }
a.huddle-shopnav__link.is-current { background: var(--hh-teal-deep); color: #fff; border-color: var(--hh-teal-deep); }

/* Home hero: event details + florals (same artwork as the WordPress hero) ------------------- */
.huddle-hero { position: relative; isolation: isolate; overflow: hidden; margin: 0 calc(50% - 50vw) 2rem; padding: 2.5rem 0 2.75rem;
  background: linear-gradient(180deg, #fff 0%, var(--hh-sand) 100%); }
.huddle-hero::after { content: ""; position: absolute; z-index: -1; right: -2rem; top: 50%; transform: translateY(-50%); pointer-events: none;
  width: min(30rem, 55vw); aspect-ratio: 900 / 1008; background: url("../img/hh27-florals.webp") center / contain no-repeat; opacity: .45; }
.huddle-hero__inner { max-width: 1140px; }
.huddle-hero__eyebrow { margin: 0 0 .4rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: .85rem; color: var(--hh-henna-deep); }
.huddle-hero__title { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 0 0 .6rem; max-width: 22ch; }
.huddle-hero__lead { font-size: 1.1rem; max-width: 46ch; margin: 0 0 1.25rem; }
.huddle-hero__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }
@media (max-width: 600px) { .huddle-hero { padding: 1.75rem 0 2rem; } .huddle-hero::after { opacity: .2; right: -6rem; }
  .huddle-hero__actions .btn { flex: 1 1 100%; } }

/* Ticket grid (home ps_featuredproducts, category pages) ------------------------------------ */
.page-content--home { padding-top: 0; }
.huddle-tickets { scroll-margin-top: 6rem; }
.huddle-tickets__head { margin-bottom: 1.25rem; scroll-margin-top: 7rem; }
.huddle-tickets__head .section-title { margin-bottom: .25rem; }
.huddle-tickets__intro { margin: 0; color: var(--hh-jagua-ink); }
.huddle-tickets .module-products__buttons { margin-top: 1.5rem; text-align: center; }
.huddle-tickets + * { margin-top: 2.5rem; }
.products.row, .module-products__list .products { row-gap: 1.5rem; }
.product-miniature__inner { display: flex; flex-direction: column; height: 100%; }
.product-miniature__bottom { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.1rem 1.2rem; }
.product-miniature__infos { flex: 1; }
.product-miniature__title { font-size: 1.15rem; line-height: 1.25; text-decoration: none; display: block; margin-bottom: .35rem; }
.product-miniature__price { font-size: 1.35rem; }
.huddle-card__desc { font-size: .925rem; color: var(--hh-jagua-ink); margin: .35rem 0 .5rem; }
.huddle-card__stock { display: inline-block; margin: 0 0 .75rem; padding: .15rem .6rem; border-radius: 999px; font-size: .8125rem; font-weight: 800; }
.huddle-card__stock--in { background: var(--hh-mint-pale); color: #145c40; }
.huddle-card__stock--low { background: #fdf0dc; color: var(--hh-henna-deep); }
.huddle-card__stock--out { background: #eee; color: #555; }
.huddle-card__actions { display: flex; flex-direction: column; gap: .5rem; }
.huddle-card__actions .product-miniature__form { display: flex; gap: .5rem; align-items: stretch; }
.huddle-card__actions .quantity-button { flex: 0 0 7.5rem; }
.huddle-card__buy { flex: 1; width: 100%; }
.huddle-card__details { font-weight: 700; font-size: .925rem; text-align: center; }
.product-miniature__quickview { display: none !important; } /* one clear action per card */

/* Category pages ---------------------------------------------------------------------------- */
.category-header, #js-product-list-header { margin-bottom: 1rem; }
.category-header__description, #category-description { max-width: 70ch; }
.subcategories, .subcategory-list { margin-bottom: 1.5rem; }
.products-top, .products-selection { font-size: .925rem; }
@media (max-width: 600px) { .products-top .sort-by-row, .products-sort-order { width: 100%; } }

/* Product page ------------------------------------------------------------------------------ */
.product__name { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.product__current-price { font-size: 1.8rem; }
.product__add-to-cart .btn, .product-add-to-cart .add-to-cart { min-height: 3rem; padding-left: 1.75rem; padding-right: 1.75rem; }
.product__description-short, .product-description-short { font-size: 1.05rem; }
.product__images, .product-cover { border-radius: var(--hh-radius-lg); overflow: hidden; background: #fff; }
.product-tabs .nav-link.active, .product__tabs .nav-link.active { color: var(--hh-teal-deep); border-bottom-color: var(--hh-teal-deep); }

/* Checkout ---------------------------------------------------------------------------------- */
.checkout-navigation .nav-link.active, .checkout-navigation__step--current { color: var(--hh-teal-deep); }
.checkout-step__title, .step-title { font-family: var(--hh-heading); }

/* Footer (same as the WordPress .huddle-footer) --------------------------------------------- */
.huddle-footer { background: var(--hh-jagua); color: #fff; padding: 3rem 0 2rem; margin-top: 3rem; }
.huddle-footer a:not(.btn) { color: var(--hh-mint); text-decoration: none; }
.huddle-footer a:not(.btn):hover { text-decoration: underline; color: var(--hh-mint); }
.huddle-footer__title { color: #fff; font-size: 1.75rem; }
.huddle-footer__heading { color: var(--hh-mint); font-size: 1.25rem; }
.huddle-footer__links, .huddle-social { list-style: none; padding-left: 0; }
.huddle-footer__links li { margin-bottom: .35rem; }
.huddle-social { display: flex; gap: 1rem; }
.huddle-footer__small { font-size: .875rem; }
/* ps_linklist blocks inside our column */
.huddle-footer__shop .row { --bs-gutter-x: 0; }
.huddle-footer__shop [class*="col-"] { width: 100%; flex: 0 0 100%; }
.huddle-footer__shop .footer__block-title, .huddle-footer__shop .h3, .huddle-footer__shop p.h4 { color: var(--hh-mint); font-family: var(--hh-heading); font-size: 1.25rem; }
.huddle-footer__shop ul { list-style: none; padding-left: 0; }
.huddle-footer__shop .footer__block-toggle, .huddle-footer__shop .accordion-button { color: var(--hh-mint); background: transparent; }
.huddle-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .875rem;
  border-top: 1px solid var(--hh-jagua-ink); margin-top: 2rem; padding-top: 1rem; }
.huddle-footer__bottom p { margin: 0; }
.footer__before { background: var(--hh-mint-pale); }

/* Phones: one ticket per row, compact image so price and Buy sit near the top */
@media (max-width: 575.98px) {
  .products { grid-template-columns: 1fr !important; }
  .product-miniature__image-container { max-width: 220px; margin: 0 auto; }
}

/* Order summary cards (cart page + checkout, stock and one-page): inner padding so the lines,
   accordions and buttons are not flush with the rounded card edge */
.cart-grid__aside .cart-summary,
.checkout-grid__aside-wrapper > .checkout__summary-accordion > .accordion-item { padding: 1.25rem 1.5rem 1.5rem; overflow: hidden; }
/* only the outer card is a card: the summary body and the nested promo-code accordion sit flat inside it */
.checkout-grid__aside-wrapper .cart-summary,
.checkout-grid__aside-wrapper .accordion-item .accordion-item { box-shadow: none; background: transparent; border-radius: 0; padding: 0; }
.checkout-grid__aside-wrapper .accordion-item > .accordion-header .accordion-button { padding: 0 0 .75rem; background: transparent; box-shadow: none;
  font-family: var(--hh-heading); font-weight: 700; color: var(--hh-jagua); }
.cart-summary .cart-summary__line, .cart-summary .cart-summary-line, .js-checkout-summary .cart-summary__line { padding-left: 0; padding-right: 0; }
.cart-summary .accordion-button, .js-checkout-summary .accordion-button { padding: .65rem .85rem; border-radius: var(--hh-radius, .5rem); }
.cart-summary__actions { padding: 0; margin-top: 1rem; }
.cart-summary__actions .btn { width: 100%; }
@media (max-width: 575.98px) {
  .cart-grid__aside .cart-summary,
  .checkout-grid__aside-wrapper > .checkout__summary-accordion > .accordion-item { padding: 1rem 1.1rem 1.25rem; }
}

/* Checkout payment step: each payment option is its own card (Mollie card, Klarna, Pay by Bank, PayPal, Clearpay) */
.payment-options__list { display: grid; gap: .75rem; margin: 1rem 0 1.25rem; }
.payment-options__list .payment-option {
  background: var(--hh-white); border: 1px solid var(--hh-sand); border-radius: var(--hh-radius);
  padding: .85rem 1rem; transition: border-color .15s, box-shadow .15s;
}
.payment-options__list .payment-option:has(.payment-option__input:checked) { border-color: var(--hh-teal); box-shadow: 0 0 0 3px rgba(3, 137, 136, .15); }
.payment-option__form-check { display: flex; align-items: center; gap: .6rem; margin: 0; min-height: 2rem; }
.payment-option__label { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--hh-jagua); cursor: pointer; flex: 1; margin: 0; }
.payment-option__label img { width: 40px; height: 26px; object-fit: contain; flex: none; margin: 0; }
.payment-option__additional-information { margin-top: .75rem; padding-top: .75rem; border-top: 1px dashed var(--hh-sand); font-size: .925rem; }
/* Mollie card fields */
.mollie-iframe-container { max-width: 32rem; }
.mollie-iframe-container .mollie-information-label { font-weight: 700; margin-bottom: .5rem; }
.mollie-iframe-container .mollie-input { background: var(--hh-white); }
.mollie-iframe-container .mollie-input.is-focused, .mollie-iframe-container .mollie-input.has-focus { border-color: var(--hh-teal) !important; box-shadow: 0 0 0 3px rgba(3, 137, 136, .15); }
.mollie-iframe-container .mollie-input.is-invalid, .mollie-iframe-container .mollie-input.has-error { border-color: var(--hh-henna) !important; }
.mollie-iframe-container .mollie-field-error, .mollie-iframe-container .js-mollie-alert { color: var(--hh-henna-deep); }
@media (max-width: 575.98px) {
  .payment-options__list .payment-option { padding: .75rem .8rem; }
  .mollie-iframe-container { max-width: none; }
}
