/* Section blocks that recur across storefront templates: hero carousel, category rail, tile links, brand strip, deal countdown.
   Everything reads the editable theme (--zt-*), each with the fallback the default theme has, so a site with no tokens still looks right.
   Class prefix `ar-` (archetype) keeps these apart from the vendored stylesheet and from the editor's `blk-` structure classes. */

.ar-section { padding: 28px 0; }
.ar-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.ar-head h2 { margin: 0; font-family: var(--zt-font-heading, "Heebo", sans-serif); color: var(--zt-ink, #2a2a2a); }
.ar-head a { color: var(--zt-primary, #2d7a44); font-weight: 600; }

/* ---- hero carousel ---- */
.ar-carousel { position: relative; overflow: hidden; border-radius: var(--zt-radius-large, 8px); background: var(--zt-ink, #2a2a2a); color: #fff; }
.ar-carousel__slide { position: relative; min-height: clamp(260px, 42vw, 460px); display: flex; align-items: center; }
.ar-carousel__slide[hidden] { display: none; }
.ar-carousel__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ar-carousel__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.15)); }
@media (max-width: 720px) { .ar-carousel__shade { background: rgba(0, 0, 0, 0.6); } }
.ar-carousel__body { position: relative; padding: 32px clamp(20px, 6vw, 72px) 76px; max-width: 640px; }
.ar-carousel .ar-carousel__body h2 { margin: 0 0 10px; color: #fff; font-family: var(--zt-font-heading, "Heebo", sans-serif); font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1.1; }
.ar-carousel .ar-carousel__body p { margin: 0 0 18px; color: #f3f4f6; max-width: 52ch; }
.ar-carousel__controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.ar-carousel__button { min-width: 44px; min-height: 44px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, 0.55); color: #fff; cursor: pointer; font-size: 16px; }
.ar-carousel__button:hover, .ar-carousel__button:focus-visible { background: rgba(0, 0, 0, 0.8); outline: 2px solid #fff; outline-offset: 2px; }
.ar-carousel__dots { display: flex; gap: 2px; }
.ar-carousel__dot { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; padding: 0; }
.ar-carousel__dot::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.6); border: 2px solid rgba(0, 0, 0, 0.5); }
.ar-carousel__dot[aria-current="true"]::before { background: var(--zt-secondary, #f6a609); }
.ar-carousel__dot:focus-visible { outline: 2px solid #fff; outline-offset: -4px; box-shadow: inset 0 0 0 4px rgba(0, 0, 0, 0.6); }

/* ---- category rail ---- */
.ar-rail { list-style: none; margin: 0; padding: 4px 0 8px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; }
.ar-rail li { flex: 0 0 auto; scroll-snap-align: start; }
.ar-rail__tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-width: 112px; min-height: 96px; padding: 14px 12px; border: 1px solid var(--zt-line, #e5e5e5); border-radius: var(--zt-radius-large, 8px); background: var(--zt-surface, #fff); color: var(--zt-ink, #2a2a2a); font-weight: 600; text-align: center; box-shadow: var(--zt-shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.06)); }
.ar-rail__tile:hover, .ar-rail__tile:focus-visible { border-color: var(--zt-primary, #2d7a44); color: var(--zt-primary, #2d7a44); }
.ar-rail__tile:focus-visible, .ar-brands a:focus-visible, .ar-tile__body a:focus-visible, .ar-head a:focus-visible { outline: 2px solid var(--zt-primary, #2d7a44); outline-offset: 2px; }
.ar-tile__body a:focus-visible { outline-color: #fff; }
.ar-rail__tile i { font-size: 24px; color: var(--zt-primary, #2d7a44); }

/* ---- tile links ---- */
.ar-tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.ar-tile { position: relative; display: flex; align-items: flex-end; min-height: 240px; overflow: hidden; border-radius: var(--zt-radius-large, 8px); background: var(--zt-ink, #2a2a2a); color: #fff; box-shadow: var(--zt-shadow-md, 0 6px 20px rgba(0, 0, 0, 0.1)); }
.ar-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ar-tile__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.6) 55%, rgba(0, 0, 0, 0.1)); }
.ar-tile__body { position: relative; padding: 18px; }
.ar-tile__tag { display: inline-block; margin-bottom: 6px; padding: 2px 8px; border-radius: 4px; background: var(--zt-secondary, #f6a609); color: var(--zt-ink, #2a2a2a); font-family: var(--zt-font-mono, ui-monospace, monospace); font-size: 12px; font-weight: 600; }
/* a tile's headline is one level under the block's title, or at the block's own level when it has none (h2 to h6): styled whatever the level */
.ar-tile .ar-tile__body :is(h2, h3, h4, h5, h6) { margin: 0 0 6px; color: #fff; font-family: var(--zt-font-heading, "Heebo", sans-serif); }
.ar-tile .ar-tile__body p { margin: 0 0 10px; color: #f3f4f6; }
.ar-tile .ar-tile__body a { color: #fff; font-weight: 600; text-decoration: underline; }

/* ---- brand strip ---- */
.ar-brands { list-style: none; margin: 0; padding: 12px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 32px; border-top: 1px solid var(--zt-line, #e5e5e5); border-bottom: 1px solid var(--zt-line, #e5e5e5); }
.ar-brands img { display: block; max-height: 36px; max-width: 140px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: 0.8; }
.ar-brands a { display: inline-flex; align-items: center; min-height: 44px; }
.ar-brands a:hover img, .ar-brands a:focus-visible img { filter: none; opacity: 1; }
.ar-faq { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; max-width: 820px; }
.ar-faq__item { border: 1px solid var(--zt-line, #e5e5e5); border-radius: 8px; background: var(--zt-surface, #fff); }
.ar-faq__item summary { cursor: pointer; list-style: none; min-height: 44px; padding: 12px 44px 12px 16px; position: relative; font-weight: 700; color: var(--zt-text, #222); overflow-wrap: anywhere; }
.ar-faq__item summary::-webkit-details-marker { display: none; }
.ar-faq__item summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.25rem; line-height: 1; }
.ar-faq__item[open] summary::after { content: "\2212"; }
.ar-faq__item summary:focus-visible { outline: 2px solid var(--zt-primary, #2d7a44); outline-offset: 2px; border-radius: 8px; }
.ar-faq__item p { margin: 0; padding: 0 16px 16px; color: var(--zt-text, #222); overflow-wrap: anywhere; }
.ar-plans { list-style: none; margin: 0; padding: 12px 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); align-items: stretch; }
.ar-plan { position: relative; height: 100%; display: flex; flex-direction: column; gap: 14px; padding: 24px 20px; border: 1px solid var(--zt-line, #e5e5e5); border-radius: 8px; background: var(--zt-surface, #fff); }
.ar-plan--featured { border-color: var(--zt-primary, #2d7a44); border-width: 2px; }
.ar-plan__badge { align-self: flex-start; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 10px; border-radius: 999px; background: var(--zt-primary, #2d7a44); color: var(--zt-on-primary, #fff); }
.ar-plan h2, .ar-plan h3, .ar-plan h4, .ar-plan h5, .ar-plan h6 { margin: 0; font-family: var(--zt-font-heading, "Heebo", sans-serif); }
.ar-plan__price { margin: 0; color: var(--zt-text, #222); }
.ar-plan .ar-plan__price b { font-size: 2rem; font-family: var(--zt-font-heading, "Heebo", sans-serif); color: var(--zt-text, #222); }
.ar-plan__price span { color: var(--zt-text-secondary, #666); }
.ar-plan__features { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.ar-plan__features li { overflow-wrap: anywhere; }
.ar-plan .main_btn { align-self: flex-start; }
.ar-testimonials { list-style: none; margin: 0; padding: 12px 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.ar-testimonial { margin: 0; height: 100%; display: flex; flex-direction: column; gap: 16px; padding: 20px; border: 1px solid var(--zt-line, #e5e5e5); border-radius: 8px; background: var(--zt-surface, #fff); }
.ar-testimonial blockquote { margin: 0; flex: 1; color: var(--zt-text, #222); line-height: 1.6; overflow-wrap: anywhere; }
.ar-testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.ar-testimonial figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.ar-testimonial figcaption strong { display: block; font-family: var(--zt-font-heading, "Heebo", sans-serif); }
.ar-testimonial__role { display: block; font-size: 0.875rem; color: var(--zt-text-secondary, #666); }
.ar-brands__name { font-family: var(--zt-font-heading, "Heebo", sans-serif); font-weight: 700; color: var(--zt-text-secondary, #666); }

/* ---- shared content lists: team members and locations ---- */
.ar-people, .ar-places { list-style: none; margin: 0; padding: 12px 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.ar-person, .ar-place { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--zt-line, #e5e5e5); border-radius: 8px; background: var(--zt-surface, #fff); overflow-wrap: anywhere; }
.ar-person img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 6px; }
.ar-person__name, .ar-place__name { font-family: var(--zt-font-heading, "Heebo", sans-serif); font-size: 1.125rem; }
.ar-person__role { color: var(--zt-text-secondary, #666); font-size: 0.875rem; }
.ar-person__bio { margin: 6px 0 0; line-height: 1.6; }
.ar-place__details { margin: 0; font-style: normal; display: grid; gap: 4px; line-height: 1.5; }

/* ---- embeds (video, map, booking page) ---- */
.ar-embed { margin: 16px 0; }
.ar-embed__frame { width: 100%; max-width: 100%; overflow: hidden; border-radius: var(--zt-radius-large, 8px); background: var(--zt-surface, #f5f5f5); }
.ar-embed__frame iframe { display: block; }

/* ---- deal countdown ---- */
.ar-countdown { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 14px 18px; border-radius: var(--zt-radius-large, 8px); background: var(--zt-ink, #2a2a2a); color: #fff; }
.ar-countdown .ar-countdown__title { margin: 0; font-family: var(--zt-font-heading, "Heebo", sans-serif); font-size: 1.25rem; color: #fff; }
.ar-countdown__units { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ar-countdown__unit { min-width: 64px; padding: 6px 8px; border-radius: 6px; background: var(--zt-urgent, #c0392b); color: #fff; text-align: center; font-family: var(--zt-font-mono, ui-monospace, monospace); }
.ar-countdown__unit b { display: block; font-size: 1.5rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ar-countdown__unit span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
.ar-countdown .ar-countdown__over { margin: 0; font-weight: 600; color: #fff; }

@media (prefers-reduced-motion: reduce) { .ar-rail { scroll-behavior: auto; } }

/* ---- product price options (variants) and the product grid's category filter ---- */
.ar-variants { margin: 12px 0; padding: 0; border: 0; min-width: 0; }
.ar-variants legend { padding: 0; margin-bottom: 8px; font-weight: 600; color: var(--zt-ink, #2a2a2a); font-size: 1rem; }
.ar-variants__list { display: flex; flex-wrap: wrap; gap: 8px; }
.ar-variants__option { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid #8a8a8a; border-color: color-mix(in srgb, var(--zt-ink, #2a2a2a) 55%, #fff); border-radius: var(--zt-radius, 4px); background: var(--zt-surface, #fff); color: var(--zt-ink, #2a2a2a); cursor: pointer; }
.ar-variants__option.is-selected { border-color: var(--zt-primary, #2d7a44); box-shadow: inset 0 0 0 1px var(--zt-primary, #2d7a44); }
.ar-variants__option:focus-within { outline: 2px solid var(--zt-primary, #2d7a44); outline-offset: 2px; }
.ar-variants__option input { width: 18px; height: 18px; accent-color: var(--zt-primary, #2d7a44); }
.ar-variants__price { font-family: var(--zt-font-mono, ui-monospace, monospace); font-variant-numeric: tabular-nums; }

.ar-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.ar-filter button { min-height: 44px; padding: 8px 16px; border: 1px solid #8a8a8a; border-color: color-mix(in srgb, var(--zt-ink, #2a2a2a) 55%, #fff); border-radius: 999px; background: var(--zt-surface, #fff); color: var(--zt-ink, #2a2a2a); font-weight: 600; cursor: pointer; }
.ar-filter button[aria-pressed="true"] { background: var(--zt-primary, #2d7a44); border-color: var(--zt-primary, #2d7a44); color: var(--zt-on-primary, #fff); }
.ar-filter button:focus-visible { outline: 2px solid var(--zt-primary, #2d7a44); outline-offset: 2px; }
/* Windows high-contrast: box-shadow and background fills are dropped, so carry the selected/pressed state with real borders */
@media (forced-colors: active) {
  .ar-variants__option.is-selected { border: 2px solid Highlight; }
  .ar-filter button[aria-pressed="true"] { border: 2px solid Highlight; forced-color-adjust: none; background: Highlight; color: HighlightText; }
}

/* Site frame additions: announcement strip, second menu row, footer link columns (all off until content is saved) */
.zt-announcement { background: var(--zt-primary, #2d7a44); color: var(--zt-on-primary, #fff); text-align: center; padding: 8px 16px; font-size: 14px; }
.zt-announcement a, .zt-announcement span { color: inherit; }
.zt-announcement a { text-decoration: underline; display: inline-block; min-height: 24px; }
.zt-secondary-menu { border-top: 1px solid rgba(0, 0, 0, .08); background: #fff; }
.zt-secondary-menu ul { display: flex; flex-wrap: wrap; gap: 4px 20px; justify-content: center; list-style: none; margin: 0 auto; padding: 4px 16px; max-width: 1140px; }
.zt-secondary-menu a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: inherit; }
.zt-footer-about { max-width: 34ch; }
.zt-footer-about strong { display: block; margin-bottom: 4px; }
.zt-footer-about p { margin: 0; overflow-wrap: anywhere; }
.zt-footer-contact { display: flex; flex-direction: column; gap: 2px; font-style: normal; overflow-wrap: anywhere; }
.zt-footer-contact a { display: inline-flex; align-items: center; min-height: 32px; }
.zt-footer-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; padding-bottom: 24px; }
.zt-footer-columns ul { list-style: none; margin: 0; padding: 0; }
.zt-footer-columns a { display: inline-flex; align-items: center; min-height: 32px; }
.zt-footer-columns__heading { font-size: 16px; font-weight: 700; margin: 0 0 8px; }

/* the footer is a dark surface in every theme: its link columns read light on it */
.footer-area .zt-footer-columns a { color: #e5e7eb; }
.footer-area .zt-footer-columns a:hover, .footer-area .zt-footer-columns a:focus-visible { color: #ffffff; text-decoration: underline; }
.footer-area .zt-footer-columns .zt-footer-columns__heading { color: #ffffff; }

/* Frame layout rows (shared/frameLayoutSchema.ts): three zones side by side, wrapping and stacking on a phone */
.zt-frame-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px 24px; max-width: 1140px; margin: 0 auto; padding: 10px 16px; }
.zt-frame-row--compact { padding-top: 4px; padding-bottom: 4px; }
.zt-frame-zone { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-width: 0; }
.zt-frame-zone--start { justify-content: flex-start; grid-column: 1; }
.zt-frame-zone--center { justify-content: center; grid-column: 2; }
.zt-frame-zone--end { justify-content: flex-end; grid-column: 3; }
.zt-frame-row--align-center { justify-content: center; }
.zt-frame-row--align-end .zt-frame-zone { justify-content: flex-end; }
@media (max-width: 767px) {
  .zt-frame-row { grid-template-columns: 1fr; justify-items: stretch; }
  .zt-frame-zone, .zt-frame-zone--start, .zt-frame-zone--center, .zt-frame-zone--end { justify-content: flex-start; grid-column: auto; }
}

/* Frame layout rows: the tools list reads as a row (the bootstrap navbar-nav is a column outside a classic bar), and a search in the middle zone is wide */
.zt-frame-row { grid-template-columns: auto minmax(0, 1fr) auto; }
.zt-frame-row .navbar-nav { flex-direction: row; align-items: center; gap: 4px 14px; }
.zt-frame-row .navbar-nav .nav-link { padding: 0.5rem 0.25rem; }
.zt-frame-row form[role="search"] { max-width: 560px !important; width: 100%; flex: 1 1 260px; margin-right: 0 !important; }
.zt-frame-zone--center { min-width: 0; }
@media (max-width: 767px) {
  .zt-frame-row { grid-template-columns: 1fr; }
  .zt-frame-row form[role="search"] { max-width: 100% !important; }
}

/* A template's own link color (its `a` rule, scoped as `.zt-skin a`) must not turn the text of the portal's buttons into the button's own color */
.zt-skin a.main_btn, .zt-skin a.main_btn:hover, .zt-skin a.main_btn:focus-visible { color: var(--zt-on-primary, #fff); }
/* a tile with no picture is a brand-colored card, not a dark box waiting for a photo */
.ar-tile--plain { background: linear-gradient(145deg, var(--zt-primary, #1d4ed8), var(--zt-ink, #1c1917)); }
.ar-tile--plain .ar-tile__shade { display: none; }

/* picture gallery (importer round 2): a responsive grid of pictures with optional captions; 2-4 pictures per row on a wide screen, fewer on a narrow one */
.ar-gallery { list-style: none; margin: 0; padding: 12px 0; display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .ar-gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ar-gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 479px) { .ar-gallery { grid-template-columns: minmax(0, 1fr); } }
.ar-gallery figure { margin: 0; }
.ar-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--zt-radius, 4px); }
.ar-gallery figcaption { margin-top: 6px; font-size: 0.9rem; color: var(--zt-text-secondary, #666); }
.ar-gallery a { color: inherit; text-decoration: none; }
.ar-gallery a:focus-visible { outline: 2px solid var(--zt-primary, #2d7a44); outline-offset: 2px; }

/* counters (importer round 2): a row of key figures; the figures are written as the template wrote them and do not animate */
.ar-counters { list-style: none; margin: 0; padding: 24px 0; display: flex; flex-wrap: wrap; justify-content: space-around; gap: 24px 32px; text-align: center; }
.ar-counters li { display: flex; flex-direction: column; gap: 4px; min-width: 120px; }
.ar-counters__value { font-family: var(--zt-font-heading, "Heebo", sans-serif); font-size: 2.4rem; line-height: 1.1; color: var(--zt-primary, #2d7a44); }
.ar-counters__label { color: var(--zt-text-secondary, #666); }

/* newsletter signup (importer round 2): words and one e-mail field with a button; the address goes to the contact inbox */
.ar-signup { position: relative; max-width: 640px; margin: 0 auto; padding: 24px 0; display: flex; flex-direction: column; gap: 12px; text-align: center; }
.ar-signup h2, .ar-signup h3, .ar-signup h4, .ar-signup h5 { margin: 0; font-family: var(--zt-font-heading, "Heebo", sans-serif); color: var(--zt-ink, #2a2a2a); }
.ar-signup p { margin: 0; color: var(--zt-text-secondary, #666); }
.ar-signup__row { display: flex; gap: 8px; align-items: flex-start; }
@media (max-width: 479px) { .ar-signup__row { flex-direction: column; align-items: stretch; } }

/* the header's tools (cart, wishlist, account) stay in ONE row: at about 1280px (or a zoomed screen) the end zone is narrow, the search box and language switch took its width, and the tools list - allowed to wrap - was squeezed to one icon wide and stacked them in a column */
.header_area .navbar .right_nav { flex-wrap: nowrap; flex: 0 0 auto; }

/* a feature item whose icon is a small picture (a template whose icons are pictures, kept as they are) */
.single-feature .title img.feature-picture { display: inline-block; max-height: 56px; max-width: 96px; width: auto; height: auto; object-fit: contain; }
