/* ==========================================================================
   PROJEK OUTDOOR — store pages
   Product, shop, cart, checkout and my-account. Loaded only on those pages
   (see includes/store.php). Colours and fonts come from the tokens in po.css.
   ========================================================================== */

/* ---------- Theme → dark ---------- */
body.po-store {
  /* Kadence reads its whole colour scheme from these variables */
  --global-palette1: var(--or);
  --global-palette2: var(--or2);
  --global-palette3: var(--fg);
  --global-palette4: var(--fg);
  --global-palette5: var(--mut);
  --global-palette6: var(--dim);
  --global-palette7: var(--card2);
  --global-palette8: var(--bg2);
  --global-palette9: var(--bg);
  --global-palette-highlight: var(--or);
  --global-palette-highlight-alt: var(--or2);
  --global-palette-highlight-alt2: var(--ink);
  --global-palette-btn-bg: var(--or);
  --global-palette-btn-bg-hover: var(--or2);
  --global-palette-btn: var(--ink);
  --global-palette-btn-hover: var(--ink);
  --global-gray-400: rgba(255, 255, 255, .2);
  --global-gray-500: rgba(255, 255, 255, .3);
  --global-body-font-family: var(--fb);
  --global-heading-font-family: var(--fd);
  color-scheme: dark;
}
/* The theme's header and footer are replaced by the Projek Outdoor ones */
body.po-store #masthead, body.po-store #colophon { display: none; }
body.po-store #wrapper, body.po-store #inner-wrap, body.po-store .content-bg, body.po-store .site { background: transparent; }
body.po-store #inner-wrap { padding-top: var(--hh); }
body.po-store .site-container, body.po-store .content-container { max-width: var(--wrap); padding-inline: var(--gut); }
body.po-store .po .po-header { background: rgba(11, 15, 14, .92); box-shadow: 0 1px 0 var(--line); }
body.po-store .po .po-header::before { display: none; }
body.po-store ::selection { background: var(--or); color: var(--ink); }
body.po-store a { color: var(--or); }
body.po-store a:hover { color: var(--or2); }

/* ---------- Page frame + type ---------- */
body.po-store #primary { margin: 0; padding-block: clamp(28px, 4vw, 56px) clamp(72px, 9vw, 128px); }
body.po-store .content-area .site-main { color: var(--mut); }
body.po-store .site-main h1, body.po-store .site-main h2, body.po-store .site-main h3, body.po-store .site-main h4, body.po-store .entry-hero h1 { font-family: var(--fd); font-style: italic; font-weight: 800; line-height: .95; letter-spacing: 0; text-transform: uppercase; color: var(--fg); }
body.po-store .site-main h2 { font-size: clamp(30px, 3.6vw, 46px); }
body.po-store .site-main h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; }
body.po-store .site-main strong, body.po-store .site-main b { color: var(--fg); font-weight: 600; }
body.po-store .entry-hero, body.po-store .entry-hero-container-inner, body.po-store .hero-section-overlay { background: transparent; }
body.po-store .entry-hero .entry-header { min-height: 0; padding: clamp(40px, 6vw, 72px) 0 0; }
body.po-store .entry-hero h1, body.po-store h1.entry-title:not(.product_title), body.po-store .woocommerce-products-header__title { font-size: clamp(44px, 8vw, 96px); line-height: .9; color: var(--fg); }
body.po-store .woocommerce-breadcrumb, body.po-store .kadence-breadcrumbs, body.po-store .product-title .kadence-breadcrumbs { margin: 0 0 22px; font: 600 14px/1.4 var(--fd); letter-spacing: .16em; text-transform: uppercase; color: var(--mut); }
body.po-store .woocommerce-breadcrumb a, body.po-store .kadence-breadcrumbs a { color: var(--mut); text-decoration: none; }
body.po-store .woocommerce-breadcrumb a:hover, body.po-store .kadence-breadcrumbs a:hover { color: var(--or); }

/* ---------- Buttons ---------- */
body.po-store .site-main .button, body.po-store .site-main button[type="submit"], body.po-store .site-main input[type="submit"], body.po-store .wc-forward, body.po-store #place_order, body.po-store .woocommerce-message .button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 30px;
  font: italic 700 19px/1.1 var(--fd); letter-spacing: .07em; text-transform: uppercase; text-decoration: none;
  color: var(--ink); background: var(--or); border: 0; border-radius: 0; box-shadow: none; cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background-color .2s, transform .25s var(--ease);
}
body.po-store .site-main .button:hover, body.po-store .site-main button[type="submit"]:hover, body.po-store .wc-forward:hover, body.po-store #place_order:hover { color: var(--ink); background: var(--or2); transform: translateY(-2px); }
body.po-store .site-main .button:active, body.po-store #place_order:active { transform: scale(.98); }
body.po-store .site-main .button, body.po-store #place_order { white-space: nowrap; }
body.po-store .site-main .button.disabled, body.po-store .site-main .button:disabled, body.po-store .site-main button[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
body.po-store .site-main :focus-visible { outline: 3px solid var(--or2); outline-offset: 3px; }

/* ---------- Form fields ---------- */
body.po-store .site-main input[type="text"], body.po-store .site-main input[type="email"], body.po-store .site-main input[type="tel"], body.po-store .site-main input[type="number"], body.po-store .site-main input[type="password"], body.po-store .site-main input[type="date"], body.po-store .site-main input[type="search"], body.po-store .site-main select, body.po-store .site-main textarea, body.po-store .select2-container--default .select2-selection--single {
  min-height: 52px; padding: 12px 14px; font: 500 16px/1.4 var(--fb); color: var(--fg); background-color: var(--bg); border: 1px solid var(--line2); border-radius: 0; box-shadow: none;
}
body.po-store .site-main input:focus, body.po-store .site-main select:focus, body.po-store .site-main textarea:focus { outline: 0; border-color: var(--or); box-shadow: 0 0 0 3px rgba(247, 148, 29, .3); }
body.po-store .site-main ::placeholder { color: var(--dim); opacity: 1; }
body.po-store .site-main label { font: 600 14px/1.3 var(--fd); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
body.po-store .site-main label .required, body.po-store .site-main abbr.required { color: var(--or); text-decoration: none; }
body.po-store .select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 26px; color: var(--fg); }
body.po-store .select2-container--default .select2-selection--single .select2-selection__arrow { height: 50px; }
body.po-store .select2-dropdown { color: var(--fg); background: var(--card); border: 1px solid var(--line2); border-radius: 0; }
body.po-store .select2-container--default .select2-results__option--highlighted[aria-selected], body.po-store .select2-container--default .select2-results__option--highlighted[data-selected] { color: var(--ink); background: var(--or); }
body.po-store .select2-container--default .select2-results__option[aria-selected="true"], body.po-store .select2-container--default .select2-results__option[data-selected="true"] { color: var(--fg); background: var(--card2); }
body.po-store .select2-search--dropdown .select2-search__field { color: var(--fg); background: var(--bg); border: 1px solid var(--line2); }

/* ---------- Notices ---------- */
body.po-store .woocommerce-message, body.po-store .woocommerce-info, body.po-store .woocommerce-error, body.po-store .woocommerce-notice, body.po-store .cart-empty {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0 0 24px; padding: 18px 20px; list-style: none;
  font-size: 16px; color: var(--fg); background: var(--card); border: 0; border-left: 4px solid var(--or); border-radius: 0;
}
body.po-store .woocommerce-error { border-left-color: #ff6b5e; }
body.po-store .woocommerce-message::before, body.po-store .woocommerce-info::before, body.po-store .woocommerce-error::before { display: none; }
body.po-store .woocommerce-message .button { order: 2; margin-left: auto; min-height: 44px; padding: 8px 22px; font-size: 17px; }
/* The text lines stack on the left with the button beside them, however many lines other plugins add. */
body.po-store .woocommerce-message { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; }
body.po-store .woocommerce-message br { display: none; }
body.po-store .woocommerce-message .button { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
@media (max-width: 559px) {
  body.po-store .woocommerce-message { grid-template-columns: minmax(0, 1fr); }
  body.po-store .woocommerce-message .button { grid-column: 1; grid-row: 3; justify-self: start; margin-top: 8px; }
}

/* ---------- Product page ---------- */
body.po-store div.product { color: var(--mut); }
body.po-store .woocommerce-product-gallery { background: var(--card); border: 1px solid var(--line); }
body.po-store .woocommerce-product-gallery__trigger { background: var(--bg); border: 1px solid var(--line2); }
body.po-store .product_title { margin: 0 0 14px; font-size: clamp(44px, 6vw, 80px); line-height: .9; }
body.po-store div.product p.price, body.po-store div.product span.price, body.po-store ul.products li.product .price { font: italic 800 clamp(28px, 3vw, 38px)/1 var(--fd); color: var(--or); }
body.po-store .woocommerce-product-details__short-description { margin-top: 20px; font-size: 17px; line-height: 1.6; }
body.po-store .woocommerce-product-details__short-description li::marker, body.po-store .woocommerce-Tabs-panel li::marker { color: var(--or); }
body.po-store .product_meta { margin-top: 24px; padding-top: 16px; font: 600 13px/1.6 var(--fd); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); border-top: 1px solid var(--line); }
body.po-store .product_meta > span { display: block; }

/* Booking panel: day type, calendar, quantity, add to cart */
body.po-store .bookacti-wc-fullwidth-cart-form, body.po-store div.product form.cart { clear: both; margin-top: clamp(28px, 4vw, 48px); }
body.po-store .bookacti-wc-fullwidth-cart-form form.cart { margin-top: 0; padding: clamp(20px, 3vw, 36px); background: var(--card); border: 1px solid var(--line2); border-top: 4px solid var(--or); }
body.po-store table.variations { margin: 0 0 8px; border: 0; }
body.po-store table.variations th, body.po-store table.variations td { padding: 6px 0; border: 0; background: none; vertical-align: middle; }
body.po-store table.variations th.label { padding-right: 20px; }
body.po-store table.variations select { min-width: min(100%, 320px); }
body.po-store .reset_variations { margin-left: 14px; font: 600 14px/1 var(--fd); letter-spacing: .14em; text-transform: uppercase; }
body.po-store .woocommerce-variation-description { color: var(--mut); }
body.po-store .woocommerce-variation-price { margin: 10px 0 20px; }
body.po-store .woocommerce-variation-price .price { font-size: clamp(40px, 5vw, 60px); }
body.po-store .bookacti-calendar-title, body.po-store .bookacti-picked-events-list-title { margin: 18px 0 12px; font: 600 14px/1.3 var(--fd); letter-spacing: .2em; text-transform: uppercase; color: var(--or); }
body.po-store .bookacti-picked-events { margin-top: 16px; padding: 14px 16px; color: var(--fg); background: rgba(247, 148, 29, .1); border-left: 3px solid var(--or); }
body.po-store .bookacti-picked-events ul { margin: 0; padding: 0; list-style: none; font-weight: 600; }
body.po-store .bookacti-notices { margin-top: 12px; color: #ffb4ab; }
body.po-store .woocommerce-variation-add-to-cart, body.po-store form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px; }
body.po-store .woocommerce-variation-add-to-cart > .bookacti-wc-form-fields, body.po-store form.cart > .bookacti-wc-form-fields { flex: 1 0 100%; }
body.po-store .quantity { display: inline-flex; margin: 0; }
body.po-store .quantity .qty { width: 96px; min-height: 56px; text-align: center; font: italic 800 26px/1 var(--fd); }
body.po-store .single_add_to_cart_button { flex: 1 1 180px; min-height: 56px; font-size: 21px; }
/* "Book now" (straight to checkout) is the main action; "Add to cart" sits beside it as the secondary one */
body.po-store .site-main .single_add_to_cart_button:not(.po-book-now) { order: 2; color: var(--fg); background: transparent; box-shadow: inset 0 0 0 2px var(--line2); }
body.po-store .site-main .single_add_to_cart_button:not(.po-book-now):hover { color: var(--ink); background: var(--fg); }
body.po-store .site-main .po-book-now { order: 3; flex: 1 1 180px; min-height: 56px; font-size: 21px; }
body.po-store .woocommerce-variation-add-to-cart .quantity { order: 1; }
body.po-store .woocommerce-variation-add-to-cart > .awcdp-deposits-wrapper, body.po-store .woocommerce-variation-add-to-cart > .bookacti-wc-form-fields { order: 0; }
body.po-store .single_add_to_cart_button.disabled, body.po-store .single_add_to_cart_button.wc-variation-selection-needed { opacity: .45; cursor: not-allowed; }
.po-from { margin-right: 4px; font: 600 .45em/1 var(--fd); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); vertical-align: middle; }

/* Pay deposit / pay full choice (Deposits & Partial Payments) */
body.po-store .awcdp-deposits-wrapper { flex: 1 0 100%; margin: 4px 0 0; padding: 0; background: none; border: 0; }
body.po-store .awcdp-deposits-option { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
body.po-store .awcdp-deposits-option .awcdp-radio { margin: 0; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line2); border-radius: 0; transition: border-color .2s, background-color .2s; }
body.po-store .awcdp-deposits-option .awcdp-radio:has(input:checked) { background: rgba(247, 148, 29, .12); border-color: var(--or); box-shadow: inset 4px 0 0 var(--or); }
body.po-store .awcdp-deposits-wrapper .awcdp-deposits-option .awcdp-radio input[type="radio"] + .awcdp-radio-label, body.po-store .awcdp-deposits-option .awcdp-radio-label { font: italic 700 20px/1.1 var(--fd); letter-spacing: .04em; text-transform: uppercase; color: var(--fg); cursor: pointer; }
body.po-store .awcdp-deposits-description { margin-top: 6px; font-size: 15px; color: var(--mut); }

/* Booking Activities calendar (FullCalendar "classic" theme reads these variables) */
body.po-store {
  --fc-classic-background: var(--bg);
  --fc-classic-foreground: var(--fg);
  --fc-classic-faint: rgba(255, 255, 255, .04);
  --fc-classic-muted: rgba(255, 255, 255, .08);
  --fc-classic-strong: rgba(255, 255, 255, .14);
  --fc-classic-faint-foreground: #6c7772;
  --fc-classic-muted-foreground: var(--mut);
  --fc-classic-border: rgba(255, 255, 255, .12);
  --fc-classic-strong-border: rgba(255, 255, 255, .24);
  --fc-classic-button: var(--card2);
  --fc-classic-button-border: var(--line2);
  --fc-classic-button-strong: var(--or);
  --fc-classic-button-strong-border: var(--or);
  --fc-classic-button-outline: rgba(247, 148, 29, .5);
  --fc-classic-button-foreground: var(--fg);
  --fc-classic-primary: var(--or);
  --fc-classic-primary-foreground: var(--ink);
  --fc-classic-today: rgba(247, 148, 29, .12);
  --fc-classic-highlight: rgba(247, 148, 29, .18);
  --fc-classic-now: var(--or2);
}
body.po-store .bookacti-calendar { font-family: var(--fb); color: var(--fg); }
body.po-store .bookacti-calendar .fc-toolbar-title { font: italic 800 clamp(24px, 3vw, 34px)/1 var(--fd); text-transform: uppercase; color: var(--fg); }
body.po-store .bookacti-calendar .fc-button { min-height: 44px; font: italic 700 16px/1 var(--fd); letter-spacing: .06em; text-transform: uppercase; border-radius: 0; box-shadow: none; }
body.po-store .bookacti-calendar .fc-button.fc-button-active { color: var(--ink); }
/* Bookable sessions are orange; the one the customer picked turns white */
body.po-store .bookacti-calendar .fc-event { --fc-event-color: var(--or) !important; --fc-event-contrast-color: var(--ink) !important; border-radius: 0; cursor: pointer; font-weight: 600; }
body.po-store .bookacti-calendar .fc-event.bookacti-picked-event { --fc-event-color: #fff !important; box-shadow: 0 0 0 3px var(--or); }
body.po-store .bookacti-calendar .fc-event.bookacti-event-unavailable, body.po-store .bookacti-calendar .fc-event.bookacti-not-bookable { --fc-event-color: var(--card2) !important; --fc-event-contrast-color: var(--dim) !important; cursor: not-allowed; }
body.po-store .bookacti-tooltips-container, body.po-store .bookacti-tooltip-container { color: var(--fg); background: var(--card); border: 1px solid var(--line2); }
body.po-store .ui-dialog.bookacti-dialog, body.po-store .bookacti-dialog { color: var(--fg); background: var(--card); border: 1px solid var(--line2); }
/* Booking Activities pop-ups (Cancel / Reschedule): above the header and mobile dock, in the dark style */
body.po-store .ui-widget-overlay { z-index: 1004 !important; background: rgba(5, 8, 7, .78); opacity: 1; }
body.po-store .ui-dialog.bookacti-dialog { z-index: 1005 !important; max-width: calc(100vw - 24px); padding: 0; font-family: var(--fb); border-radius: 0; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); border-top: 4px solid var(--or); }
body.po-store .ui-dialog.bookacti-dialog .ui-dialog-titlebar { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; color: var(--fg); background: var(--card); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
body.po-store .ui-dialog.bookacti-dialog .ui-dialog-title { font: italic 800 24px/1 var(--fd); text-transform: uppercase; color: var(--fg); }
body.po-store .ui-dialog.bookacti-dialog .ui-dialog-titlebar-close { position: static; width: 36px; height: 36px; margin: 0; color: var(--fg); background: transparent; border: 1px solid var(--line2); border-radius: 0; }
body.po-store .ui-dialog.bookacti-dialog .ui-dialog-titlebar-close:hover { border-color: var(--or); }
body.po-store .ui-dialog.bookacti-dialog .ui-dialog-titlebar-close { display: grid; place-items: center; padding: 0; font-size: 0; text-indent: 0; }
body.po-store .ui-dialog.bookacti-dialog .ui-dialog-titlebar-close .ui-icon { display: none; }
body.po-store .ui-dialog.bookacti-dialog .ui-dialog-titlebar-close::before { content: "×"; font: 400 26px/1 var(--fb); }
body.po-store .ui-dialog.bookacti-dialog .ui-dialog-content { padding: 18px 20px; color: var(--mut); background: var(--card); }
body.po-store .ui-dialog.bookacti-dialog .ui-dialog-buttonpane { margin: 0; padding: 14px 20px; background: var(--bg2); border: 0; border-top: 1px solid var(--line); }
body.po-store .ui-dialog.bookacti-dialog .ui-dialog-buttonset { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; float: none; }
body.po-store .ui-dialog.bookacti-dialog .ui-dialog-buttonset { padding-inline: 6px; }
body.po-store .ui-dialog.bookacti-dialog .ui-dialog-buttonpane button { position: relative; isolation: isolate; min-height: 46px; margin: 0; padding: 0 22px; font: italic 700 18px/1 var(--fd); letter-spacing: .07em; text-transform: uppercase; color: var(--fg); background: none; border: 0; border-radius: 0; box-shadow: none; cursor: pointer; transition: color .2s, transform .25s var(--ease); }
body.po-store .ui-dialog.bookacti-dialog .ui-dialog-buttonpane button::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11, 15, 14, .35); border: 2px solid var(--line2); transform: skewX(-9deg); transition: border-color .2s, background-color .2s; }
body.po-store .ui-dialog.bookacti-dialog .ui-dialog-buttonpane button:hover { color: var(--or); background: none; transform: translateY(-2px); }
body.po-store .ui-dialog.bookacti-dialog .ui-dialog-buttonpane button:hover::before { border-color: var(--or); }
body.po-store .ui-dialog.bookacti-dialog .ui-dialog-buttonpane button:first-child { color: var(--ink); }
body.po-store .ui-dialog.bookacti-dialog .ui-dialog-buttonpane button:first-child::before { background: var(--or); border-color: var(--or); }
body.po-store .ui-dialog.bookacti-dialog .ui-dialog-buttonpane button:first-child:hover::before { background: var(--or2); border-color: var(--or2); }
body.po-store .ui-dialog.bookacti-dialog .ui-resizable-handle { display: none !important; }
body.po-store .ui-dialog.bookacti-dialog textarea, body.po-store .ui-dialog.bookacti-dialog select, body.po-store .ui-dialog.bookacti-dialog input[type="text"] { width: 100%; color: var(--fg); background: var(--bg); border: 1px solid var(--line2); border-radius: 0; }

/* Tabs */
body.po-store .woocommerce-tabs { margin-top: clamp(48px, 7vw, 88px); border: 0; }
body.po-store .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 0 0 28px; padding: 0; list-style: none; border-bottom: 1px solid var(--line2); }
body.po-store .woocommerce-tabs ul.tabs::before, body.po-store .woocommerce-tabs ul.tabs li::before, body.po-store .woocommerce-tabs ul.tabs li::after { display: none; }
body.po-store .woocommerce-tabs ul.tabs li { margin: 0 0 -1px; padding: 0; background: none; border: 0; border-bottom: 3px solid transparent; border-radius: 0; }
body.po-store .woocommerce-tabs ul.tabs li a { display: inline-flex; align-items: center; min-height: 48px; padding: 0; font: italic 700 22px/1 var(--fd); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--mut); }
body.po-store .woocommerce-tabs ul.tabs li, body.po-store .woocommerce-tabs ul.tabs li.active { background: none; border-top: 0; border-left: 0; border-right: 0; }
body.po-store .woocommerce-tabs, body.po-store .woocommerce-tabs .panel { border-left: 0; border-right: 0; border-top: 0; }
body.po-store .woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--or); }
body.po-store .woocommerce-tabs ul.tabs li.active a, body.po-store .woocommerce-tabs ul.tabs li a:hover { color: var(--fg); }
body.po-store .woocommerce-Tabs-panel { max-width: 820px; font-size: 17px; line-height: 1.65; }
body.po-store .woocommerce-Tabs-panel > * + * { margin-top: 1em; }
body.po-store .woocommerce-Tabs-panel h2 { margin-top: 1.4em; }

/* Tables (attributes, cart, order review, orders) */
body.po-store .site-main table { width: 100%; border-collapse: collapse; color: var(--mut); background: none; border: 0; border-radius: 0; }
body.po-store .site-main table th, body.po-store .site-main table td { padding: 14px 12px; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); }
body.po-store .site-main table thead th, body.po-store .site-main table tbody th, body.po-store .site-main table tfoot th { font: 600 14px/1.3 var(--fd); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
body.po-store .site-main table .amount { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
body.po-store .site-main table tr.order-total .amount { font: italic 800 30px/1 var(--fd); color: var(--or); }

/* Product grid: shop, related */
body.po-store .related.products, body.po-store .upsells.products { margin-top: clamp(56px, 8vw, 104px); }
body.po-store ul.products { gap: 20px; }
body.po-store ul.products li.product { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 0; box-shadow: none; transition: transform .35s var(--ease), border-color .25s; }
body.po-store ul.products li.product:hover { transform: translateY(-6px); border-color: var(--or); }
body.po-store ul.products li.product .product-details, body.po-store ul.products li.product .entry-content-wrap { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 20px 22px; background: none; border-radius: 0; }
body.po-store ul.products li.product .woocommerce-loop-product__title, body.po-store ul.products li.product h2 { margin: 0; padding: 0; font: italic 700 26px/1 var(--fd); text-transform: uppercase; color: var(--fg); }
body.po-store ul.products li.product .woocommerce-loop-product__title a { color: inherit; text-decoration: none; }
body.po-store ul.products li.product .price { font-size: 26px; }
/* Product cards (shop, related): no button; the photo and title open the product */
body.po-store ul.products li.product .product-action-wrap { display: none !important; }
body.po-store ul.products.woo-archive-action-on-hover li.product .product-details, body.po-store ul.products.woo-archive-action-on-hover li.product:hover .product-details { transform: none; }
body.po-store ul.products li.product .button { width: 100%; min-height: 46px; padding: 8px 18px; font-size: 17px; }
body.po-store ul.products li.product .button .kadence-svg-iconset { display: none; }
body.po-store .woocommerce-result-count, body.po-store .woocommerce-ordering { color: var(--mut); }
body.po-store .kadence-shop-top-row { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }

/* ---------- Cart ---------- */
body.po-store .woocommerce-cart-form, body.po-store .cart-collaterals .cart_totals, body.po-store #order_review, body.po-store .woocommerce-checkout #customer_details, body.po-store .woocommerce-order, body.po-store .woocommerce-MyAccount-content, body.po-store .woocommerce-form-login, body.po-store .woocommerce-form-register, body.po-store .woocommerce-ResetPassword {
  padding: clamp(18px, 3vw, 32px); background: var(--card); border: 1px solid var(--line); border-radius: 0; box-shadow: none;
}
body.po-store .cart-collaterals .cart_totals, body.po-store #order_review { border-top: 4px solid var(--or); }
body.po-store .cart_totals h2, body.po-store #order_review_heading, body.po-store .woocommerce-billing-fields h3, body.po-store .woocommerce-additional-fields h3 { margin: 0 0 16px; font-size: clamp(26px, 3vw, 34px); }
body.po-store .woocommerce-cart-form .product-thumbnail img { width: 84px; height: auto; border: 1px solid var(--line); }
body.po-store .woocommerce-cart-form .product-name a { font: italic 700 22px/1.05 var(--fd); text-transform: uppercase; text-decoration: none; color: var(--fg); }
body.po-store .woocommerce-cart-form .product-name a:hover { color: var(--or); }
body.po-store .site-main dl.variation, body.po-store .site-main .wc-item-meta { margin: 8px 0 0; padding: 0; font-size: 14px; line-height: 1.5; color: var(--mut); list-style: none; }
body.po-store .site-main dl.variation dt, body.po-store .site-main .wc-item-meta strong { color: var(--fg); font-weight: 600; }
body.po-store .site-main dl.variation dd, body.po-store .site-main dl.variation p { margin: 0; }
body.po-store a.remove { display: inline-grid; place-items: center; width: 32px; height: 32px; font-size: 22px; line-height: 1; text-decoration: none; color: var(--mut) !important; background: none; border: 1px solid var(--line2); border-radius: 0; }
body.po-store a.remove:hover { color: var(--ink) !important; background: var(--or); border-color: var(--or); }
body.po-store .woocommerce-cart-form td.actions { padding-top: 20px; border-bottom: 0; }
body.po-store .woocommerce-cart-form .coupon { display: flex; flex-wrap: wrap; gap: 10px; }
body.po-store .woocommerce-cart-form .coupon .input-text { flex: 1 1 180px; min-width: 0; }
body.po-store .woocommerce-cart-form td.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
body.po-store .woocommerce-cart-form .coupon .button, body.po-store .woocommerce-cart-form button[name="update_cart"], body.po-store .checkout_coupon .button { min-height: 52px; color: var(--fg); background: var(--card2); }
body.po-store .woocommerce-cart-form .coupon .button:hover, body.po-store .woocommerce-cart-form button[name="update_cart"]:hover { color: var(--ink); background: var(--or); }
body.po-store .wc-proceed-to-checkout { padding: 20px 0 0; }
body.po-store .wc-proceed-to-checkout .checkout-button { display: flex; width: 100%; min-height: 58px; margin: 0; font-size: 22px; }
body.po-store .bookacti-cart-item-expiration, body.po-store .bookacti-cart-expiration-container, body.po-store .bookacti-countdown { color: var(--or2); font-weight: 600; }

/* ---------- Checkout ---------- */
body.po-store .woocommerce-checkout .col2-set .col-1, body.po-store .woocommerce-checkout .col2-set .col-2 { float: none; width: 100%; }
body.po-store .woocommerce-checkout .form-row { margin: 0 0 16px; padding: 0; }
body.po-store .woocommerce-checkout .form-row input.input-text, body.po-store .woocommerce-checkout .form-row select, body.po-store .woocommerce-checkout .form-row textarea { width: 100%; }
body.po-store .woocommerce-form-coupon-toggle, body.po-store .woocommerce-form-login-toggle { margin-bottom: 20px; }
body.po-store #payment { margin-top: 20px; background: none; border-radius: 0; }
body.po-store #payment ul.payment_methods { margin: 0 0 20px; padding: 0; list-style: none; border: 0; }
body.po-store #payment ul.payment_methods li { margin: 0 0 10px; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line2); }
body.po-store #payment ul.payment_methods li label { font: italic 700 20px/1.1 var(--fd); letter-spacing: .03em; color: var(--fg); }
body.po-store #payment ul.payment_methods li img { max-height: 28px; margin-left: 10px; vertical-align: middle; }
body.po-store #payment div.payment_box { margin: 12px 0 0; padding: 12px 14px; font-size: 15px; color: var(--mut); background: var(--card2); border-radius: 0; }
body.po-store #payment div.payment_box::before { display: none; }
body.po-store #payment div.payment_box select { width: 100%; max-width: 100%; }
body.po-store #payment .place-order { margin: 0; padding: 0; }
body.po-store #place_order { display: flex; width: 100%; min-height: 60px; margin-top: 16px; font-size: 23px; }
body.po-store .woocommerce-privacy-policy-text, body.po-store .woocommerce-terms-and-conditions-wrapper { font-size: 14px; color: var(--mut); }
body.po-store input[type="radio"], body.po-store input[type="checkbox"] { accent-color: var(--or); width: 18px; height: 18px; }
body.po-store .woocommerce-order .woocommerce-thankyou-order-received { font: italic 800 clamp(30px, 4vw, 48px)/1 var(--fd); text-transform: uppercase; color: var(--or); }
body.po-store ul.woocommerce-order-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 12px; margin: 20px 0; padding: 0; list-style: none; }
body.po-store ul.woocommerce-order-overview li.email { grid-column: span 2; }
@media (min-width: 600px) { body.po-store ul.woocommerce-order-overview { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
body.po-store ul.woocommerce-order-overview::before, body.po-store ul.woocommerce-order-overview::after { display: none; } /* WooCommerce's float clearfix would take a grid slot */
body.po-store ul.woocommerce-order-overview li { float: none; width: auto; min-width: 0; overflow-wrap: anywhere; border-right: 1px solid var(--line) !important; border-left: 1px solid var(--line) !important; margin: 0; padding: 14px 16px; font: 600 13px/1.4 var(--fd); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); background: var(--bg); border: 1px solid var(--line); }
body.po-store ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; font: 600 17px/1.3 var(--fb); letter-spacing: 0; text-transform: none; }

/* ---------- My account ---------- */
body.po-store .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); }
body.po-store .woocommerce-MyAccount-navigation li { margin: 0; border-bottom: 1px solid var(--line); }
body.po-store .woocommerce-MyAccount-navigation li:last-child { border-bottom: 0; }
body.po-store .woocommerce-MyAccount-navigation li a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; font: italic 700 19px/1 var(--fd); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--mut); background: none; border: 0; border-left: 3px solid transparent; }
body.po-store .woocommerce-MyAccount-navigation li a:hover, body.po-store .woocommerce-MyAccount-navigation li.is-active a { color: var(--fg); background: var(--card); border-left-color: var(--or); }

/* ---------- Small screens ---------- */
@media (max-width: 767px) {
  body.po-store .woocommerce-cart-form table.shop_table_responsive tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line2); }
  body.po-store .woocommerce-cart-form table.shop_table_responsive td { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; text-align: right; border: 0; }
  body.po-store .woocommerce-cart-form table.shop_table_responsive td::before { font: 600 13px/1.6 var(--fd); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
  body.po-store .woocommerce-cart-form table.shop_table_responsive td.product-thumbnail { display: none; }
  body.po-store .woocommerce-cart-form .coupon .input-text { flex: 1 1 160px; }
  body.po-store table.variations th.label, body.po-store table.variations td { display: block; padding-right: 0; }
  body.po-store table.variations select { width: 100%; }
  body.po-store .bookacti-calendar .fc-toolbar { flex-wrap: wrap; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { body.po-store * { transition-duration: .01ms !important; } }

/* ---------- Booking confirmation (includes/order-view.php): thank-you page + My account → order ---------- */
body.po-store .woocommerce-order:has(.po-ov), body.po-store .woocommerce-MyAccount-content:has(.po-ov) { padding: 0; background: none; border: 0; }
body.po-store .po-ov { display: grid; gap: 16px; color: var(--mut); font-size: 16px; line-height: 1.55; container: po-ov / inline-size; }
body.po-store .po-ov dl, body.po-store .po-ov dd, body.po-store .po-ov ol, body.po-store .po-ov ul, body.po-store .po-ov p { margin: 0; }
body.po-store .po-ov__card, body.po-store .po-ov__hero { padding: clamp(20px, 3vw, 32px); background: var(--card); border: 1px solid var(--line); }

/* Hero */
body.po-store .po-ov__hero { position: relative; overflow: hidden; background: linear-gradient(rgba(21, 28, 26, .9), rgba(21, 28, 26, .97)), url(../img/topo.jpg) center / cover; border-top: 4px solid var(--or); animation: po-ov-in .6s var(--ease) both; }
body.po-store .site-main .po-ov__title { margin: 14px 0 10px; font-size: clamp(36px, 6vw, 64px); line-height: .92; }
body.po-store .po-ov__lede { max-width: 60ch; font-size: 17px; color: var(--mut); }
body.po-store .po-ov__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 22px !important; padding-left: 6px; }
body.po-store .po-ov__link { color: var(--fg); }
body.po-store .po-ov__meta { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 26px !important; background: var(--line); border: 1px solid var(--line); }
body.po-store .po-ov__meta > div { min-width: 0; padding: 14px 16px; background: var(--bg2); }
body.po-store .po-ov__meta-wide { grid-column: 1 / -1; }
body.po-store .po-ov dt { font: 600 12px/1.3 var(--fd); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
body.po-store .po-ov dd { margin-top: 4px; font-weight: 600; color: var(--fg); overflow-wrap: anywhere; }

/* Layout */
body.po-store .po-ov__grid { display: grid; gap: 16px; align-items: start; }
body.po-store .po-ov__main { display: grid; gap: 16px; min-width: 0; }
@container po-ov (min-width: 820px) {
  body.po-store .po-ov__grid { grid-template-columns: minmax(0, 1fr) 360px; }
  body.po-store .po-ov__side { position: sticky; top: calc(var(--hh) + 24px); }
  body.po-store.admin-bar .po-ov__side { top: calc(var(--hh) + 56px); }
}
body.po-store .site-main .po-ov__h { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: clamp(24px, 2.6vw, 30px); }
body.po-store .po-ov__count { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; font: 700 15px/1 var(--fb); font-style: normal; color: var(--ink); background: var(--or); }

/* Trip */
body.po-store .po-ov-trip { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 18px; align-items: start; }
body.po-store .po-ov-trip + .po-ov-trip { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
body.po-store .po-ov-trip__media { aspect-ratio: 1; overflow: hidden; background: var(--bg2); border: 1px solid var(--line); }
body.po-store .po-ov-trip__img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.po-store .site-main .po-ov-trip__name { margin: 0; font-size: clamp(22px, 2.4vw, 28px); }
body.po-store .po-ov-trip__name a { color: inherit; text-decoration: none; }
body.po-store .po-ov-trip__name a:hover { color: var(--or); }
body.po-store .po-ov-trip__variant { margin-top: 4px !important; font-size: 14px; color: var(--dim); }
body.po-store .po-ov-trip__when { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 12px !important; }
body.po-store .po-ov-trip__day { font: italic 700 20px/1.1 var(--fd); text-transform: uppercase; color: var(--fg); }
body.po-store .po-ov-trip__time { color: var(--mut); }
body.po-store .po-ov-trip__price { display: grid; justify-items: end; gap: 4px; text-align: right; }
body.po-store .po-ov-trip__unit { font-size: 14px; color: var(--dim); white-space: nowrap; }
body.po-store .po-ov-trip__line { font: italic 800 26px/1 var(--fd); color: var(--fg); }
body.po-store .po-ov-tag { display: inline-flex; align-items: center; margin-left: 4px; padding: 6px 12px; font: 700 13px/1 var(--fd); letter-spacing: .14em; text-transform: uppercase; color: var(--c); box-shadow: inset 0 0 0 1.5px var(--c); transform: skewX(-9deg); }
body.po-store .po-ov-tag > span { transform: skewX(9deg); }
body.po-store .po-ov-tag--ok { --c: var(--or); }
body.po-store .po-ov-tag--warn { --c: var(--fg); }
body.po-store .po-ov-tag--off { --c: var(--dim); }
@container po-ov (max-width: 600px) {
  body.po-store .po-ov-trip { grid-template-columns: 76px minmax(0, 1fr); }
  body.po-store .po-ov-trip__price { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: baseline; justify-items: start; padding-top: 12px; border-top: 1px dashed var(--line); }
  body.po-store .po-ov__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.po-store .po-ov__meta > div:nth-child(3) { grid-column: 1 / -1; }
}

/* Participants, emergency contact, details */
body.po-store .po-ov-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; padding: 0; list-style: none; counter-reset: po-p; }
body.po-store .po-ov-people li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; font-weight: 600; color: var(--fg); background: var(--bg2); border: 1px solid var(--line); counter-increment: po-p; }
body.po-store .po-ov-people li::before { content: counter(po-p, decimal-leading-zero); font: italic 800 20px/1 var(--fd); color: var(--or); }
body.po-store .po-ov-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
body.po-store .po-ov-pair:empty { display: none; }
body.po-store .po-ov-pair > div { padding: 14px 16px; background: var(--bg2); }
body.po-store .po-ov-pair a { color: var(--fg); }
body.po-store .po-ov-agree { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; padding: 14px 16px; background: var(--bg2); border: 1px solid var(--line); border-left: 3px solid var(--or); }
body.po-store .po-ov-agree__tick { flex: none; display: grid; place-items: center; width: 28px; height: 28px; color: var(--ink); background: var(--or); transform: skewX(-9deg); }
body.po-store .po-ov-agree__tick svg { transform: skewX(9deg); }
body.po-store .po-ov-agree p { font-size: 15px; }
body.po-store .po-ov-agree strong { display: block; margin-top: 4px; font: 700 13px/1 var(--fd); letter-spacing: .16em; text-transform: uppercase; color: var(--or); }

/* Payment */
body.po-store .po-ov-pay { border-top: 4px solid var(--or); }
body.po-store .po-ov-sum > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
body.po-store .po-ov-sum dt { font: 500 15px/1.4 var(--fb); letter-spacing: 0; text-transform: none; color: var(--mut); }
body.po-store .po-ov-sum dt small { display: block; font-size: 13px; color: var(--dim); }
body.po-store .po-ov-sum dd { margin: 0; white-space: nowrap; }
body.po-store .po-ov-sum .po-ov-sum__total dt { font: 700 14px/1.4 var(--fd); letter-spacing: .16em; text-transform: uppercase; color: var(--fg); }
body.po-store .po-ov-sum .po-ov-sum__total dd { font: italic 800 24px/1 var(--fd); }
body.po-store .po-ov .amount { font-variant-numeric: tabular-nums; }
body.po-store .po-ov-due { margin-top: 18px; padding: 16px; background: var(--bg2); border: 1px solid var(--line2); }
body.po-store .po-ov-due__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--mut); }
body.po-store .po-ov-due__row strong { color: var(--fg); font-weight: 600; }
body.po-store .po-ov-due__big { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
body.po-store .po-ov-due__big > span { font: 700 15px/1 var(--fd); letter-spacing: .16em; text-transform: uppercase; color: var(--fg); }
body.po-store .po-ov-due__big strong { font: italic 800 clamp(34px, 4vw, 42px)/1 var(--fd); color: var(--or); }
body.po-store .po-ov-due.is-clear .po-ov-due__big strong { color: var(--fg); }
body.po-store .po-ov-due__note { margin-top: 10px !important; font-size: 14px; color: var(--mut); }
body.po-store .po-ov .po-ov-due__btn { margin-top: 14px; }
body.po-store .po-ov-steps { display: grid; gap: 8px; margin-top: 16px !important; padding: 0; list-style: none; }
body.po-store .po-ov-steps li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; font-size: 14px; }
body.po-store .po-ov-steps__label { display: flex; align-items: center; gap: 8px; color: var(--fg); }
body.po-store .po-ov-steps__label::before { content: ""; width: 12px; height: 12px; border: 2px solid var(--dim); transform: skewX(-9deg); }
body.po-store .po-ov-steps .is-paid .po-ov-steps__label::before { background: var(--or); border-color: var(--or); }
body.po-store .po-ov-steps__state { color: var(--dim); }
body.po-store .po-ov-steps .is-paid .po-ov-steps__state { color: var(--fg); }

/* Manage booking */
body.po-store .po-ov-manage { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 32px; }
body.po-store .site-main .po-ov-manage .po-ov__h { margin-bottom: 6px; }
body.po-store .po-ov-manage__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
body.po-store .po-ov-manage__set { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
body.po-store .po-ov-manage__set > * { display: contents; }
body.po-store .po-ov-manage__label { flex-basis: 100%; font-size: 13px; color: var(--dim); }
body.po-store .site-main .po-ov-manage .bookacti-booking-action {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 0 4px; padding: 0 20px; font: italic 700 17px/1 var(--fd); letter-spacing: .07em; text-transform: uppercase; text-decoration: none;
  color: var(--fg); background: none; border: 0; box-shadow: none; clip-path: none; transition: color .2s, transform .25s var(--ease);
}
body.po-store .site-main .po-ov-manage .bookacti-booking-action::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11, 15, 14, .35); border: 2px solid var(--line2); transform: skewX(-9deg); transition: border-color .2s, background-color .2s; }
body.po-store .site-main .po-ov-manage .bookacti-booking-action:hover { color: var(--or); background: none; transform: translateY(-2px); }
body.po-store .site-main .po-ov-manage .bookacti-booking-action:hover::before { background: rgba(11, 15, 14, .6); border-color: var(--or); }

@keyframes po-ov-in { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { body.po-store .po-ov__hero { animation: none; } }

/* ---------- My account → Photos & videos (includes/trip-media.php) + album card on the booking page ---------- */
body.po-store .woocommerce-MyAccount-content:has(.po-tm) { padding: clamp(20px, 3vw, 32px); }
body.po-store .po-tm { display: grid; gap: 12px; }
body.po-store .po-tm .po-kicker { margin: 0; }
body.po-store .site-main .po-tm__title { margin: 4px 0 8px; font-size: clamp(30px, 4vw, 42px); }
body.po-store .po-tm__item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 18px; background: var(--bg2); border: 1px solid var(--line); }
body.po-store .po-tm__item.is-ready { border-left: 3px solid var(--or); }
body.po-store .site-main .po-tm__text h3 { margin: 0; font-size: 22px; }
body.po-store .po-tm__text p, body.po-store .po-tm__wait, body.po-store .po-tm__empty { margin: 4px 0 0; font-size: 15px; color: var(--mut); }
body.po-store .po-tm .po-btn { margin-right: 6px; }
body.po-store .po-ov-album { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; border-left: 3px solid var(--or); }
body.po-store .po-ov-album p { margin: 0; }
body.po-store .site-main .po-ov-album .po-ov__h { margin-bottom: 6px; }
body.po-store .po-ov-album .po-btn { margin-right: 6px; }

/* My account → Orders on narrow screens: WooCommerce hides the order-number cell; show it as each card's heading */
@media (max-width: 768px) {
  body.po-store .woocommerce-orders-table tbody th.woocommerce-orders-table__cell-order-number { display: block; padding: 14px 14px 8px; text-align: left; border-bottom: 1px solid var(--line); }
  body.po-store .woocommerce-orders-table tbody th.woocommerce-orders-table__cell-order-number a { font: italic 800 22px/1 var(--fd); color: var(--or); text-decoration: none; }
  body.po-store .woocommerce-orders-table tbody th.woocommerce-orders-table__cell-order-number a::before { content: "Order "; color: var(--fg); }
  body.po-store .woocommerce-orders-table tbody tr + tr th.woocommerce-orders-table__cell-order-number { margin-top: 18px; border-top: 3px solid var(--or); }
}

/* The product photo shows straight away instead of waiting for the gallery script. */
.woocommerce div.product .woocommerce-product-gallery { opacity: 1 !important; }
