/*
Theme Name: Zest Tours
Theme URI: https://zesttourssg.com
Author: Zest Tours
Description: Fast, SEO-friendly custom theme for Zest Tours – small-group walking tours and private tours in Singapore. Built for WooCommerce tour bookings (Stripe), online enquiries and curated Google Reviews.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
WC requires at least: 8.5
License: GPL-2.0-or-later
Text Domain: zest
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  --orange: #e46f17;
  --orange-dark: #b9560c;
  --orange-soft: #fde9d7;
  --yellow: #f4b73a;
  --yellow-soft: #fff3d6;
  --cream: #fffaf1;
  --cream-2: #fbf1e1;
  --brown: #4a2e14;
  --ink: #2c2219;
  --muted: #6c5f53;
  --line: #ecdfcb;
  --white: #fff;
  --success: #2e7d4f;
  --danger: #b3261e;

  --font-head: "Fredoka", "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(74, 46, 20, .25);
  --shadow-sm: 0 4px 14px -6px rgba(74, 46, 20, .22);
  --container: 1200px;
  --header-h: 72px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { overflow-x: clip; margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; color: var(--brown); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.visually-hidden, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--brown); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; color: #fff; }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn, .button, button.button, input.button, .wp-block-button__link,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid var(--orange);
  background: var(--orange); color: #fff; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover, .button:hover, .wp-block-button__link:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
  background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; transform: translateY(-1px);
}
.btn--outline { background: transparent; color: var(--orange-dark); }
.btn--outline:hover { background: var(--orange); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--brown); }
.btn--light:hover { background: var(--yellow); border-color: var(--yellow); color: var(--brown); }
.btn--ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); color: #fff; backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--brown); border-color: #fff; }
.btn--block { width: 100%; }
.btn--sm { padding: .55em 1.1em; font-size: .9rem; }
.btn[disabled], .button[disabled], .button.disabled { opacity: .55; cursor: not-allowed; transform: none; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #place_order { background: var(--orange); border-color: var(--orange); color: #fff; }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce #place_order:hover { background: var(--orange-dark); border-color: var(--orange-dark); }

/* ==========================================================================
   4. Header & navigation
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--cream); border-bottom: 1px solid var(--line); }
/* backdrop-filter is desktop-only: on mobile it would trap the fixed menu panel inside the header. */
@media (min-width: 1024px) { .site-header { background: rgba(255, 250, 241, .96); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); } }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
/* Under 600px the WP admin bar scrolls away with the page, so the header sticks to the very top. */
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; margin-right: auto; }
.brand img { width: 54px; height: auto; }
.brand__name { font-family: var(--font-head); font-weight: 600; font-size: 1.55rem; color: var(--orange); letter-spacing: -.01em; line-height: 1; }
.brand__name small { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: .25rem; }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--brown); cursor: pointer; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.header-cta { display: none; }

.primary-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); z-index: 99; background: var(--cream); padding: 1rem 1.25rem 2rem; overflow-y: auto; opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none; transition: opacity .22s ease, transform .22s ease, visibility .22s; }
.nav-open .primary-nav { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
.nav-open { overflow: hidden; }
.menu { list-style: none; margin: 0; padding: 0; }
.menu a { display: block; text-decoration: none; color: var(--brown); font-weight: 700; padding: .85rem .25rem; border-bottom: 1px solid var(--line); }
.menu .current-menu-item > a, .menu .current-menu-ancestor > a { color: var(--orange); }
.menu-item-has-children { position: relative; }
.submenu-toggle { position: absolute; right: 0; top: .35rem; width: 44px; height: 44px; border: 0; background: transparent; color: var(--brown); cursor: pointer; display: grid; place-items: center; }
.submenu-toggle .icon { transition: transform .2s; }
.menu-item-has-children.is-open > .submenu-toggle .icon { transform: rotate(180deg); }
.sub-menu { list-style: none; margin: 0; padding: 0 0 0 1rem; display: none; }
.menu-item-has-children.is-open > .sub-menu { display: block; }
.sub-menu a { font-weight: 600; font-size: .98rem; color: var(--ink); }
.primary-nav .mobile-cta { margin-top: 1.5rem; display: grid; gap: .75rem; }

@media (min-width: 1024px) {
  .nav-toggle, .primary-nav .mobile-cta { display: none; }
  .header-cta, .header-cart { display: inline-flex; }
  .primary-nav { position: static; height: auto; transform: none; opacity: 1; visibility: visible; pointer-events: auto; background: none; padding: 0; overflow: visible; }
  .menu { display: flex; align-items: center; gap: .15rem; }
  .menu > li > a { border: 0; padding: .6rem .8rem; border-radius: 999px; font-size: .98rem; }
  .menu > li > a:hover { background: var(--orange-soft); color: var(--orange-dark); }
  .menu-item-has-children > a { padding-right: 1.9rem !important; }
  .submenu-toggle { width: 26px; height: 26px; top: 50%; right: .35rem; transform: translateY(-50%); pointer-events: none; }
  .sub-menu { display: block; position: absolute; left: 0; top: 100%; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s; }
  .menu-item-has-children:hover > .sub-menu, .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
  .sub-menu a { border: 0; padding: .55rem .8rem; border-radius: 8px; font-size: .94rem; line-height: 1.35; }
  .sub-menu a:hover { background: var(--cream); color: var(--orange-dark); }
}

/* ==========================================================================
   5. Hero slider (home)
   ========================================================================== */
.hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--brown); }
.hero__slides { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s ease-out; }
.hero__slide.is-active img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,18,8,.15) 0%, rgba(30,18,8,.25) 40%, rgba(30,18,8,.78) 100%); }
.hero__content { position: relative; z-index: 2; padding: 8rem 0 4.5rem; }
.hero__eyebrow { display: inline-block; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; background: var(--yellow); color: var(--brown); padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.hero h1 { color: #fff; max-width: 15ch; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 52ch; opacity: .95; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero__dots { position: absolute; z-index: 3; right: 1.25rem; bottom: 1.25rem; display: flex; gap: .4rem; }
.hero__dots button { width: 10px; height: 10px; padding: 0; border-radius: 99px; border: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: width .25s, background .25s; }
.hero__dots button[aria-current="true"] { width: 28px; background: var(--yellow); }

/* ==========================================================================
   6. Sections
   ========================================================================== */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--cream { background: var(--cream); }
.section--tint { background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); }
.section--brown { background: var(--brown); color: #f6ead9; }
.section--brown h2, .section--brown h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: .6rem; }
.lede { font-size: 1.15rem; color: var(--muted); }
.section-foot { text-align: center; margin-top: 2.5rem; }

/* Home intro (page content on front page) */
.home-intro .wp-block-heading:first-child, .home-intro > h2:first-child { margin-top: 0; }
.philosophy { text-align: center; }
.philosophy__word { font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--orange); }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split--reverse > :first-child { order: 2; } }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Book-us cards */
.book-cards { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .book-cards { grid-template-columns: repeat(3, 1fr); } }
.book-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; color: #fff; text-decoration: none; box-shadow: var(--shadow); isolation: isolate; }
.book-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.book-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(36,20,6,.85) 100%); }
.book-card:hover img { transform: scale(1.06); }
.book-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; }
.book-card h3 { color: #fff; font-size: 1.6rem; margin-bottom: .25rem; }
.book-card p { margin: 0 0 .9rem; opacity: .92; font-size: .98rem; }
.book-card__cta { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; color: var(--yellow); }
.book-card:hover { color: #fff; }

.notice { display: flex; gap: .9rem; align-items: flex-start; background: var(--yellow-soft); border: 1px solid #f3dca2; border-radius: var(--radius-sm); padding: 1rem 1.2rem; color: var(--brown); font-size: .97rem; }
.notice .icon { color: var(--orange); margin-top: .2rem; width: 1.3em; height: 1.3em; }
.notice p:last-child { margin-bottom: 0; }
.notice--success { background: #e8f5ec; border-color: #bfe2cb; }
.notice--success .icon { color: var(--success); }
.notice--error { background: #fdecea; border-color: #f5c2bd; }
.notice--error .icon { color: var(--danger); }

/* Feature list (why us) */
.features { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.feature__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); margin-bottom: 1rem; }
.feature__icon .icon { width: 24px; height: 24px; }
.feature h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.feature p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ==========================================================================
   7. Tour cards
   ========================================================================== */
.tour-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .tour-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tour-grid { grid-template-columns: repeat(3, 1fr); } }
.tour-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.tour-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.tour-card__media { position: relative; display: block; aspect-ratio: 16/11; overflow: hidden; background: var(--cream-2); }
.tour-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tour-card:hover .tour-card__media img { transform: scale(1.05); }
.tour-card__badge { position: absolute; left: .75rem; top: .75rem; background: rgba(255,255,255,.95); color: var(--brown); font-size: .75rem; font-weight: 800; padding: .3rem .65rem; border-radius: 999px; }
.tour-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.25rem 1.4rem; }
.tour-card__cat { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: .35rem; }
.tour-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.tour-card h3 a { color: inherit; text-decoration: none; }
.tour-card h3 a::after { content: ""; position: absolute; inset: 0; }
.tour-card { position: relative; }
.tour-card__meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.tour-card__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.tour-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .9rem; border-top: 1px dashed var(--line); }
.price { font-family: var(--font-head); font-weight: 600; color: var(--brown); font-size: 1.35rem; line-height: 1; }
.price small { font-family: var(--font-body); font-weight: 600; font-size: .8rem; color: var(--muted); }
.price del { opacity: .5; font-size: .8em; }
.price ins { text-decoration: none; }
.tour-card__more { font-weight: 800; color: var(--orange-dark); display: inline-flex; align-items: center; gap: .3rem; font-size: .95rem; }

/* ==========================================================================
   8. Reviews
   ========================================================================== */
.reviews-summary { display: inline-flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line); padding: .5rem 1rem; border-radius: 999px; font-weight: 700; color: var(--brown); text-decoration: none; margin-top: .5rem; }
.reviews-summary .stars { color: var(--yellow); }
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: min(88%, 360px); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem .25rem 1rem; scrollbar-width: thin; }
@media (min-width: 1024px) { .reviews--grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; } }
.review { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; gap: .75rem; }
.review__head { display: flex; align-items: center; gap: .75rem; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); flex: none; }
.review__name { font-weight: 800; color: var(--brown); line-height: 1.2; }
.review__date { font-size: .82rem; color: var(--muted); }
.review__source { margin-left: auto; width: 22px; height: 22px; }
.stars { display: inline-flex; gap: 2px; color: var(--yellow); }
.stars .icon { width: 1.05em; height: 1.05em; }
.review__text { color: var(--ink); font-size: .97rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review.is-expanded .review__text { -webkit-line-clamp: unset; }
.review__more { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--orange-dark); font-weight: 800; cursor: pointer; font-size: .9rem; }

/* ==========================================================================
   9. Page header, breadcrumbs, prose
   ========================================================================== */
.page-hero { background: var(--cream); border-bottom: 1px solid var(--line); padding: clamp(2.25rem, 5vw, 3.75rem) 0; position: relative; overflow: hidden; }
.page-hero--image { color: #fff; background: var(--brown); min-height: 340px; display: grid; align-items: end; border: 0; }
.page-hero--image img.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,18,8,.15), rgba(30,18,8,.75)); }
.page-hero--image .container { position: relative; z-index: 1; }
.page-hero--image h1, .page-hero--image .breadcrumbs, .page-hero--image .breadcrumbs a { color: #fff; }
.page-hero h1 { margin-bottom: .3rem; }
.page-hero p { margin: 0; color: var(--muted); max-width: 60ch; font-size: 1.1rem; }
.page-hero--image p { color: rgba(255,255,255,.92); }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: .75rem; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.breadcrumbs li + li::before { content: "›"; margin-right: .35rem; opacity: .6; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--orange); }

.prose { max-width: 760px; }
.prose--wide { max-width: none; }
.prose > * + h2 { margin-top: 2.2rem; }
.prose > * + h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose ul.checklist, .prose ul.is-style-checklist { list-style: none; padding: 0; }
.prose ul.checklist li, .prose ul.is-style-checklist li { position: relative; padding-left: 1.9rem; }
.prose ul.checklist li::before, .prose ul.is-style-checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e46f17' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat; }
.prose table, .wp-block-table table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--cream); color: var(--brown); font-family: var(--font-head); font-weight: 600; }
.wp-block-table { overflow-x: auto; margin: 0; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.5rem; border-left: 4px solid var(--yellow); background: var(--cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose img { border-radius: var(--radius-sm); }
.prose figure { margin: 1.5rem 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.prose .small, .prose .has-small-font-size { font-size: .9rem; color: var(--muted); }
.wp-block-image img { height: auto; }

/* Accordions (FAQ – core/details) */
.prose details, .accordion details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: .75rem; overflow: hidden; }
.prose summary, .accordion summary { cursor: pointer; list-style: none; padding: 1.05rem 3rem 1.05rem 1.25rem; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--brown); position: relative; }
.prose summary::-webkit-details-marker, .accordion summary::-webkit-details-marker { display: none; }
.prose summary::after, .accordion summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--orange); transition: transform .2s; }
.prose details[open] > summary::after, .accordion details[open] > summary::after { transform: translateY(-50%) rotate(45deg); }
.prose details > :not(summary), .accordion details > :not(summary) { padding: 0 1.25rem; }
.prose details > :is(ul, ol), .accordion details > :is(ul, ol) { padding-left: 2.55rem; }
.prose details > :last-child { padding-bottom: 1rem; }
.prose details[open] > summary { border-bottom: 1px dashed var(--line); margin-bottom: 1rem; }

.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 1024px) { .layout-sidebar { grid-template-columns: minmax(0, 1fr) 340px; gap: 3.5rem; align-items: start; } }
.side-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.side-card h3 { font-size: 1.2rem; }
.side-card + .side-card { margin-top: 1.25rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.contact-list a { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--brown); font-weight: 700; word-break: break-word; }
.contact-list .icon { color: var(--orange); width: 1.3em; height: 1.3em; }

/* ==========================================================================
   10. Private tour – "why" scroller
   ========================================================================== */
.why-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 340px); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem .25rem 1.25rem; margin: 2rem 0 1rem; }
@media (min-width: 1100px) { .why-scroller { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; } }
.why-card { scroll-snap-align: start; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; color: #fff; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; box-shadow: var(--shadow-sm); margin: 0; }
.why-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; border-radius: 0 !important; }
.why-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(36,20,6,.7) 0%, rgba(36,20,6,0) 32%, rgba(36,20,6,0) 45%, rgba(36,20,6,.85) 100%); }
.why-card h3 { color: #fff; font-size: 1.35rem; padding: 1.25rem 1.25rem 0; margin: 0; }
.why-card p { padding: 0 1.25rem 1.25rem; margin: 0; font-size: .97rem; line-height: 1.5; }
.tagline-banner { text-align: center; font-family: var(--font-head); font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: var(--orange); margin: 1rem 0 0; }

/* ==========================================================================
   11. Forms (enquiry + general)
   ========================================================================== */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem 1.25rem; }
@media (min-width: 700px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--full { grid-column: 1 / -1; } }
.field label, .field legend, .woocommerce form .form-row label { display: block; font-weight: 800; font-size: .92rem; color: var(--brown); margin-bottom: .35rem; }
.field .req, .woocommerce form .form-row .required { color: var(--orange); text-decoration: none; }
.field .hint { display: block; font-size: .84rem; color: var(--muted); font-weight: 500; margin-top: .3rem; line-height: 1.45; }
.field fieldset { border: 0; padding: 0; margin: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="url"], input[type="password"], input[type="search"], select, textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container .select2-selection--single {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #dccfbb; border-radius: 12px; padding: .75rem .9rem; min-height: 48px; transition: border-color .15s, box-shadow .15s; appearance: none;
}
select { min-width: 0; text-overflow: ellipsis; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a2e14' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.1rem; padding-right: 2.4rem; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(228,111,23,.15); }
::placeholder { color: #a99b8c; }
.phone-group { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: .5rem; }
.pax-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.pax-group label { font-weight: 600 !important; font-size: .82rem !important; color: var(--muted) !important; }
.date-rows { display: grid; gap: .6rem; }
.date-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) 40px; gap: .5rem; align-items: center; }
.date-row span { font-size: .85rem; color: var(--muted); }
.date-row__remove { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.link-btn { background: none; border: 0; color: var(--orange-dark); font-weight: 800; cursor: pointer; padding: .4rem 0; display: inline-flex; align-items: center; gap: .3rem; font-size: .95rem; }
.inline-other { margin-top: .5rem; }
.inline-other[hidden] { display: none; }
.radio-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.radio-pills label { margin: 0 !important; }
.radio-pills input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pills span { display: inline-block; padding: .55rem 1rem; border: 1.5px solid #dccfbb; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: .93rem; color: var(--brown); background: #fff; }
.radio-pills input:checked + span { background: var(--orange); border-color: var(--orange); color: #fff; }
.radio-pills input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.hp-field { position: absolute !important; left: -9999px !important; }
.form-note { font-size: .88rem; color: var(--muted); font-style: italic; margin-top: 1.25rem; }
.form-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.check-label { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 600 !important; cursor: pointer; }
.check-label input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--orange); flex: none; }

/* ==========================================================================
   12. Single tour (product)
   ========================================================================== */
.tour-head { padding: 1.75rem 0 1.25rem; }
.tour-head h1 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); margin-bottom: .75rem; max-width: 26ch; }
.tour-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.tour-facts li { display: inline-flex; align-items: center; gap: .4rem; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .85rem; font-size: .9rem; font-weight: 700; color: var(--brown); }
.tour-facts .icon { color: var(--orange); }
.tour-facts .is-alert { background: var(--yellow-soft); border-color: #f3dca2; }

.gallery { position: relative; }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); background: var(--cream-2); }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 16/10; margin: 0; }
@media (min-width: 900px) { .gallery__slide { aspect-ratio: 16/8; } }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--brown); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); z-index: 2; }
.gallery__nav--prev { left: .75rem; }
.gallery__nav--next { right: .75rem; }
.gallery__count { position: absolute; right: .9rem; bottom: .9rem; background: rgba(20,12,4,.65); color: #fff; font-size: .8rem; font-weight: 700; padding: .25rem .6rem; border-radius: 99px; }
.gallery__thumbs { display: flex; gap: .5rem; overflow-x: auto; padding: .6rem 0 .2rem; scrollbar-width: thin; }
.gallery__thumbs button { flex: 0 0 auto; width: 86px; height: 60px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; opacity: .7; transition: opacity .2s, border-color .2s; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--orange); opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__note { font-size: .82rem; color: var(--muted); font-style: italic; margin: .4rem 0 0; }

.tour-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding: 2rem 0 4rem; }
@media (min-width: 1024px) { .tour-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 3rem; align-items: start; } }
.tour-intro { font-size: 1.1rem; }

.tabs__list { display: flex; gap: .35rem; overflow-x: auto; border-bottom: 2px solid var(--line); margin-bottom: 1.5rem; scrollbar-width: none; position: sticky; top: var(--header-h); background: #fff; z-index: 5; }
.admin-bar .tabs__list { top: calc(var(--header-h) + 32px); }
.tabs__list::-webkit-scrollbar { display: none; }
/* Phones: swipeable row with a fade hinting at more tabs. Wider screens: wrap so every tab is visible. */
@media (max-width: 767px) {
  .tabs__list { -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
}
@media (min-width: 768px) {
  .tabs__list { flex-wrap: wrap; overflow: visible; row-gap: 0; }
}
.tabs__list button { flex: none; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: .85rem .9rem; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tabs__list button[aria-selected="true"] { color: var(--orange-dark); border-color: var(--orange); }
.tab-panel { padding-bottom: 1rem; }
.tabs.is-ready .tab-panel[hidden] { display: none; }
.tabs.is-ready .tab-panel > h2:first-child { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tabs:not(.is-ready) .tab-panel + .tab-panel { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.tab-panel h2 { font-size: 1.5rem; }
.experience-list p strong:first-child, .tab-panel h3 { color: var(--brown); }

.itinerary { list-style: none; margin: 0 0 1.5rem; padding: 0; position: relative; }
.itinerary li { position: relative; padding: 0 0 1.1rem 2rem; }
.itinerary li::before { content: ""; position: absolute; left: 5px; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); z-index: 1; }
.itinerary li::after { content: ""; position: absolute; left: 10px; top: .9em; bottom: -.3em; width: 2px; background: var(--line); }
.itinerary li:last-child::after { display: none; }
.itinerary li.is-time::before { background: var(--orange); }
.itinerary strong { color: var(--brown); }
.points { display: grid; gap: 1rem; margin: 1.5rem 0; }
@media (min-width: 640px) { .points { grid-template-columns: 1fr 1fr; } }
.point { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem; background: var(--cream); }
.point__label { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.point__name { font-weight: 800; color: var(--brown); margin: .2rem 0 .5rem; line-height: 1.35; }
.point a { font-weight: 700; font-size: .92rem; display: inline-flex; align-items: center; gap: .3rem; }
.point img { border-radius: 8px; margin-top: .75rem; }
.incl { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .incl { grid-template-columns: 1fr 1fr; } }
.incl ul { list-style: none; padding: 0; margin: 0; }
.incl li { display: flex; gap: .6rem; align-items: flex-start; padding: .4rem 0; }
.incl li .icon { margin-top: .3em; }
.incl .yes .icon { color: var(--success); }
.incl .no .icon { color: var(--danger); }

.booking-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; }
@media (min-width: 1024px) { .booking-card { position: sticky; top: calc(var(--header-h) + 1.25rem); } .admin-bar .booking-card { top: calc(var(--header-h) + 52px); } }
.booking-card__price { display: flex; align-items: baseline; gap: .4rem; margin-bottom: 1.1rem; }
.booking-card__price .price { font-size: 2rem; }
.booking-card .field { margin-bottom: 1rem; }
.stepper { display: grid; grid-template-columns: 44px 1fr 44px; border: 1.5px solid #dccfbb; border-radius: 12px; overflow: hidden; }
.stepper button { border: 0; background: var(--cream); font-size: 1.3rem; font-weight: 700; color: var(--brown); cursor: pointer; }
.stepper button:disabled { opacity: .4; cursor: not-allowed; }
.stepper input { border: 0 !important; border-radius: 0 !important; text-align: center; font-weight: 800; box-shadow: none !important; -moz-appearance: textfield; min-height: 46px; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pax-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.availability { font-size: .88rem; font-weight: 700; min-height: 1.3em; margin: -.4rem 0 .8rem; }
.availability.is-ok { color: var(--success); }
.availability.is-low { color: var(--orange-dark); }
.availability.is-full, .availability.is-error { color: var(--danger); }
.booking-total { display: flex; justify-content: space-between; align-items: center; padding: .9rem 0; border-top: 1px dashed var(--line); margin-top: .5rem; font-weight: 800; color: var(--brown); }
.booking-total strong { font-family: var(--font-head); font-size: 1.4rem; }
.booking-card__assure { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .45rem; font-size: .88rem; color: var(--muted); }
.booking-card__assure li { display: flex; gap: .5rem; align-items: flex-start; }
.booking-card__assure .icon { color: var(--success); margin-top: .2em; }
.booking-card__help { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.booking-card .notice { font-size: .85rem; padding: .75rem .9rem; margin-top: 1rem; }
.mobile-book-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: #fff; border-top: 1px solid var(--line); padding: .75rem 1.25rem calc(.75rem + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px -12px rgba(74,46,20,.25); transform: translateY(110%); transition: transform .25s; }
.mobile-book-bar.is-visible { transform: none; }
@media (min-width: 1024px) { .mobile-book-bar { display: none; } }
.woocommerce-notices-wrapper:empty { display: none; }

/* ==========================================================================
   13. Blog
   ========================================================================== */
.post-grid { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post-card__media { aspect-ratio: 16/10; background: var(--cream-2); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.post-card__meta { font-size: .82rem; color: var(--muted); font-weight: 700; }
.post-card h2, .post-card h3 { font-size: 1.2rem; margin: 0; }
.post-card h2 a, .post-card h3 a { color: inherit; text-decoration: none; }
.post-card h2 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.entry-meta { color: var(--muted); font-size: .92rem; font-weight: 700; }
.entry-featured { margin: 0 0 2rem; }
.entry-featured img { border-radius: var(--radius); width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.pagination, .woocommerce-pagination { margin-top: 2.5rem; }
.pagination .nav-links, .woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; list-style: none; padding: 0; border: 0 !important; }
.pagination .page-numbers, .woocommerce-pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .75rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--brown); font-weight: 700; }
.pagination .page-numbers.current, .woocommerce-pagination .page-numbers.current { background: var(--orange); border-color: var(--orange); color: #fff; }
.empty-state { text-align: center; padding: 3rem 1rem; background: var(--cream); border-radius: var(--radius); }

/* ==========================================================================
   14. CTA band & footer
   ========================================================================== */
.cta-band { background: var(--orange); color: #fff; border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.25rem); display: grid; gap: 1.5rem; align-items: center; position: relative; overflow: hidden; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { margin: 0; opacity: .95; max-width: 58ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); }

.site-footer { background: #2f1d0d; color: #e9dccb; padding: 4rem 0 0; margin-top: 0; font-size: .97rem; }
.site-footer a { color: #f3e6d4; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer-brand img { width: 130px; background: #fffaf1; border-radius: 20px; padding: .6rem; margin-bottom: 1rem; }
.footer-brand p { color: #cdbca6; max-width: 34ch; }
.site-footer h2 { font-size: 1.05rem; color: #fff; letter-spacing: .02em; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-contact .icon { color: var(--yellow); }
.socials { display: flex; gap: .5rem; margin-top: 1.25rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.socials a:hover { background: var(--orange); color: #fff; }
.socials .icon { width: 20px; height: 20px; }
.footer-bottom { margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0 calc(1.25rem + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; font-size: .86rem; color: #bba88f; }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-badge { display: inline-flex; align-items: center; gap: .5rem; margin-top: .5rem; font-size: .85rem; color: #cdbca6; }

.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 95; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px -6px rgba(0,0,0,.4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float .icon { width: 30px; height: 30px; }
.single-product .wa-float { bottom: 5.5rem; }
@media (min-width: 1024px) { .single-product .wa-float { bottom: 1rem; } }

/* ==========================================================================
   15. WooCommerce (cart / checkout / account)
   ========================================================================== */
.wc-page { padding: 2.5rem 0 4.5rem; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews { list-style: none; border-radius: var(--radius-sm); padding: 1rem 1.2rem !important; margin: 0 0 1.5rem !important; border: 1px solid var(--line); border-top-width: 1px !important; background: var(--cream); color: var(--brown); display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; justify-content: space-between; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none !important; }
.woocommerce-error { background: #fdecea; border-color: #f5c2bd; color: #7a1c15; display: block; }
.woocommerce-error li { margin: .2rem 0; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; padding: .5em 1em; font-size: .9rem; }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius-sm); border-collapse: separate; overflow: hidden; background: #fff; width: 100%; }
.woocommerce table.shop_table th { font-family: var(--font-head); font-weight: 600; color: var(--brown); background: var(--cream); padding: .9rem 1rem; text-align: left; }
.woocommerce table.shop_table td { padding: 1rem; border-top: 1px solid var(--line); vertical-align: top; }
.woocommerce table.shop_table td.product-thumbnail img { width: 84px; border-radius: 10px; }
.woocommerce td.product-name a { font-weight: 800; color: var(--brown); text-decoration: none; }
.woocommerce td.product-name dl.variation, .woocommerce .wc-item-meta { font-size: .88rem; color: var(--muted); margin: .5rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: .15rem .6rem; padding: 0; list-style: none; }
.woocommerce td.product-name dl.variation dt, .woocommerce .wc-item-meta .wc-item-meta-label { font-weight: 800; margin: 0; float: none; }
.woocommerce td.product-name dl.variation dd, .woocommerce td.product-name dl.variation dd p { margin: 0; }
.woocommerce .wc-item-meta li { display: contents; }
.woocommerce .wc-item-meta p { display: inline; margin: 0; }
.woocommerce a.remove { color: var(--danger) !important; font-size: 1.4rem; text-decoration: none; }
.woocommerce a.remove:hover { background: var(--danger); color: #fff !important; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout-review-order { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 1.4rem; }
.woocommerce .cart-collaterals .cart_totals table.shop_table { border: 0; background: transparent; }
.woocommerce form .form-row { margin: 0 0 1rem; padding: 0; }
.woocommerce-checkout .col2-set { display: block; width: 100%; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { width: 100%; float: none; }
@media (min-width: 1024px) {
  form.checkout.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 0 3rem; align-items: start; }
  form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
  form.checkout #customer_details { grid-column: 1; }
  form.checkout #order_review_heading, form.checkout #order_review { grid-column: 2; }
  form.checkout #order_review_heading { grid-row: 1; }
  form.checkout #customer_details { grid-row: 1 / span 2; }
  form.checkout #order_review { grid-row: 2; position: sticky; top: calc(var(--header-h) + 1rem); }
}
#order_review_heading { font-size: 1.4rem; }
.woocommerce-checkout #payment { background: #fff !important; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-top: 1rem; }
.woocommerce-checkout #payment ul.payment_methods { border-color: var(--line) !important; }
.woocommerce-checkout #payment div.payment_box { background: var(--cream) !important; color: var(--ink) !important; border-radius: 10px; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--cream) !important; }
.zest-checkout-policy { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem; margin: 1rem 0; font-size: .9rem; }
.zest-checkout-policy h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.zest-checkout-policy ul { margin: 0 0 .5rem; padding-left: 1.1rem; }
.zest-checkout-policy p { margin: 0 0 .4rem; }
.zest-terms { background: var(--yellow-soft); border: 1px solid #f3dca2; border-radius: 10px; padding: .9rem 1rem; margin: 0 0 1rem !important; }
.zest-terms label { font-weight: 700 !important; margin: 0 !important; display: flex !important; gap: .6rem; align-items: flex-start; }
.zest-terms input { width: 20px; height: 20px; flex: none; margin-top: .15rem; accent-color: var(--orange); }
.woocommerce-order-overview { list-style: none; padding: 1.25rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); background: var(--cream); border-radius: var(--radius); }
.woocommerce-order-overview li { margin: 0 !important; border: 0 !important; padding: 0 !important; font-size: .85rem !important; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.woocommerce-order-overview strong { display: block; text-transform: none; letter-spacing: 0; font-size: 1.05rem; color: var(--brown); margin-top: .2rem; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.woocommerce-MyAccount-navigation a { display: block; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--brown); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--orange); color: #fff; border-color: var(--orange); }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; }
.cart-empty-wrap { text-align: center; padding: 2rem 0; }

/* ==========================================================================
   16. Misc
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.alignwide { width: 100%; }
.aligncenter { margin-inline: auto; }
.badge-licensed { display: inline-flex; align-items: center; gap: .5rem; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; font-weight: 800; font-size: .88rem; color: var(--brown); }
.badge-licensed .icon { color: var(--orange); }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.error-404 { text-align: center; padding: 5rem 0; }
.error-404 img { margin: 0 auto 1.5rem; width: 160px; }
.search-form { display: flex; gap: .5rem; max-width: 480px; margin: 1.5rem auto 0; }
.container.prose--wide > p, .container.prose--wide > h2, .container.prose--wide > h3, .container.prose--wide > ul, .container.prose--wide > ol { max-width: 780px; margin-left: auto; margin-right: auto; }
.container.prose--wide > h2 { text-align: center; }
.container.prose--wide > .form-card { max-width: 900px; margin: 2rem auto 0; }
.lead-in { font-size: 1.15rem; color: var(--brown); }
.price-note { font-size: .9rem; font-style: italic; color: var(--muted); text-align: center; max-width: 780px; margin: 1.5rem auto 0 !important; }
.footer-contact a, .footer-contact span { display: inline-flex; gap: .55rem; align-items: center; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.zest-qty { font-weight: 800; }
