/* WordPress and WooCommerce specifics on top of site.css (which holds every design token). */

/* admin bar: keep the fixed header below it */
.admin-bar .nav { top: 32px; }
.admin-bar .menu { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav, .admin-bar .menu { top: 46px; } }

/* cart, checkout, account pages need full width */
.content--wide { max-width: none; }

/* ---------- booking box ---------- */
.booking { margin-top: var(--sp-8); }
.booking .field { margin-bottom: var(--sp-16); }
.booking .field input { font-size: var(--fs-16); padding: 8px 0; }
.booking .btn { margin-top: var(--sp-8); }
.price-box .btn + .btn, .price-box form + .btn { margin-top: 10px; }
.price-box__note { color: var(--slate); font-size: var(--fs-14); margin-bottom: var(--sp-16); }
.also-from { margin-top: var(--sp-32); }
.also-from ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--stone); }
.also-from a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--stone); font-size: var(--fs-14); transition: color .3s var(--ease); }
.also-from a strong { font-weight: 600; white-space: nowrap; }
.also-from a:hover { color: var(--accent); }
.related-tours { padding-bottom: var(--section); }
.page-aside__links ul { list-style: none; margin: 0; padding: 0; }

/* ---------- WooCommerce notices ---------- */
.woocommerce-error, .woocommerce-message, .woocommerce-info,
.wc-block-components-notice-banner {
  list-style: none; margin: 0 0 var(--sp-32); padding: var(--sp-16) var(--sp-24);
  border: 1px solid var(--stone); border-left: 3px solid var(--accent); background: var(--paper); font-size: var(--fs-14);
}
.woocommerce-message { border-left-color: var(--ink); }
.woocommerce-error li, .woocommerce-message li { margin: 0; padding: 0; }
.woocommerce-error li::before, .woocommerce-message li::before { display: none; }

/* ---------- blocks inside page content ---------- */
.content .wp-block-image { margin: var(--sp-32) 0; }
.content .wp-block-image img { margin: 0; }
.content .alignwide { max-width: none; }
.content .alignfull { max-width: none; margin-left: calc(var(--side) * -1); margin-right: calc(var(--side) * -1); }
.content .wp-block-button__link, .wp-element-button {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border-radius: var(--r-ui);
  background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; transition: background-color .35s var(--ease);
}
.content .wp-block-button__link:hover { background: var(--accent-deep); color: #fff; }
.content .is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.content .wp-block-details { border-bottom: 1px solid var(--stone); max-width: 68ch; }
.content .wp-block-details:first-of-type { border-top: 1px solid var(--stone); }
.content .wp-block-details summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-24); padding: var(--sp-24) 0; cursor: pointer; font-family: var(--font-display); font-weight: 500; font-size: var(--fs-18); }
.content .wp-block-details summary::-webkit-details-marker { display: none; }
.content .wp-block-details summary::after { content: '+'; font-family: var(--font-body); font-size: 22px; line-height: 1; transition: transform .5s var(--ease); }
.content .wp-block-details[open] summary::after { transform: rotate(45deg); }
.content .wp-block-details > :not(summary) { color: var(--slate); }
.content .ucb-cta { background: var(--ink); color: var(--paper); padding: var(--sp-64) var(--sp-48); border-radius: var(--r-frame); margin: var(--sp-64) 0; }
.content .ucb-cta h2 { color: var(--paper); margin-top: 0; }
.content .ucb-cta p { color: var(--on-ink-muted); }
.content .ucb-media-text { margin: var(--sp-64) 0; gap: var(--gutter); }
.content .ucb-media-text img { margin: 0; }
.content .card-grid { margin: var(--sp-32) 0 var(--sp-64); }
.content .card-grid a { text-decoration: none; }

/* ---------- WooCommerce cart and checkout blocks ---------- */
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
  background: var(--accent) !important; color: #fff !important; border-radius: var(--r-ui) !important; font-weight: 600;
}
.wc-block-components-button:not(.is-link):hover { background: var(--accent-deep) !important; }
.wc-block-components-product-name { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.wc-block-components-product-details { font-size: var(--fs-14); color: var(--slate); }

/* contact page (shortcode inside page content) */
.content .contact { margin-top: var(--sp-32); }
.content .contact__list li { padding-left: 0; margin: 0; }
.content .contact__list li::before { display: none; }
.content .contact__list a { text-decoration: none; color: inherit; }
.content .form h2 { font-size: var(--fs-32); letter-spacing: -0.03em; margin: 0; }
.content .form__actions .btn { text-decoration: none; }
/* departure hub copy (category description) uses plain details rows */
.content .wp-block-details summary .icon { display: none; }

/* ---------- calligraphic logo ---------- */
.wordmark { display: inline-flex; align-items: center; line-height: 0; }
.wordmark .logo { height: 34px; width: auto; }
.wordmark .logo--light { display: none; }
.nav--over:not(.is-solid) .wordmark .logo--color, .menu .wordmark .logo--color { display: none; }
.nav--over:not(.is-solid) .wordmark .logo--light, .menu .wordmark .logo--light { display: block; }
@media (max-width: 600px) { .wordmark .logo { height: 28px; } }
.footer__mark--logo { display: block; padding: 0 var(--side); max-width: calc(var(--max) + var(--side) * 2); margin: var(--sp-48) auto 0; }
.footer__mark--logo, .footer__mark.footer__mark--logo { font-size: 0; line-height: 0; }
.footer__mark--logo img { display: block; width: 100%; height: auto; opacity: .3; }

/* ---------- spacing and content fixes ---------- */
/* photos placed inside a heading by the old editor: float beside the heading instead of splitting it */
.content h1 img, .content h2 img, .content h3 img, .content h4 img { display: inline; float: right; width: auto; max-width: min(40%, 220px); height: auto; margin: 0 0 var(--sp-16) var(--sp-24); }
.content h1, .content h2, .content h3, .content h4 { clear: both; }
/* tour page: room between the copy, the photos and the related tours */
.tour-main > .tour-section, .tour-main > .tour-details { margin-top: var(--sp-64); padding-top: var(--sp-48); border-top: 1px solid var(--stone); }
.tour-main > .doc-copy > :first-child { margin-top: 0; }
.related-tours { padding-top: var(--sp-96); }
.related-tours .listing-title { margin-bottom: var(--sp-48); }
.content .tour-section + .tour-section { margin-top: var(--sp-48); padding-top: var(--sp-48); }
