/*
 * Shop, product, experiences, experience detail and accommodation - the reference's look where
 * block attributes cannot reach it (reference ShopPage.tsx, ProductDetailPage.tsx, ExperiencesPage.tsx,
 * ExperienceDetailPage.tsx, AccommodationPage.tsx). Every selector is scoped to one of those pages'
 * sections ([data-dc-section^="grp:<page>/"]) or to the real product page (.lbs-sp), so nothing
 * else on the site changes. Breakpoints are the reference's own: md 768px, lg 1024px.
 */

/* ---------- Shared: the reference's photo treatment and card hovers ---------- */

/* Every photo in these pages sits on #182619 and is desaturated (filter: saturate(...) inline in the reference). */
:is([data-dc-section^="grp:shop/"], [data-dc-section^="grp:product-detail/"], [data-dc-section^="grp:experiences/"], [data-dc-section^="grp:experience-detail/"], [data-dc-section^="grp:accommodation/"], .lbs-sp) :is(.wp-block-image, .wp-block-cover, .wc-block-components-product-image, .woocommerce-product-gallery__image) {
  background-color: var(--wp--preset--color--lagoon-mid);
}

/* ---------- Real product page (templates/single-product.html) ---------- */

.lbs-sp .wp-block-woocommerce-breadcrumbs { margin: 0; }
.lbs-sp .woocommerce-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: var(--lbs-t-label);
  line-height: 1.5;
  color: var(--wp--preset--color--mist);
}
.lbs-sp .woocommerce-breadcrumb a { color: var(--wp--preset--color--mist); text-decoration: none; transition: opacity 0.15s; }
.lbs-sp .woocommerce-breadcrumb a:hover { opacity: 0.7; }
.lbs-sp .lbs-crumb-sep { color: var(--wp--preset--color--reed); font-size: 16px; font-weight: 400; line-height: 24px; letter-spacing: normal; text-transform: none; }
.lbs-sp .woocommerce-breadcrumb::before,
.lbs-sp .woocommerce-breadcrumb::after { display: none !important; }
.lbs-sp .woocommerce-breadcrumb .lbs-crumb:not(:first-child):not(:last-child) { color: var(--wp--preset--color--c-5-a-6-b-5-e); }

/* Columns: one column below the reference's lg (1024px), 7/12 + 5/12 with a 64px gap above it. */
.lbs-sp .lbs-sp-cols { margin: 0; }
@media (max-width: 1023.98px) {
  .lbs-sp .lbs-sp-cols { flex-direction: column; flex-wrap: nowrap !important; gap: 32px; }
  .lbs-sp .lbs-sp-cols > .wp-block-column { flex-basis: auto !important; width: 100%; }
  .lbs-sp .lbs-sp-info { padding-top: 0 !important; }
}
@media (min-width: 1024px) {
  .lbs-sp .lbs-sp-cols { flex-wrap: nowrap !important; }
}

/* Gallery: main photo 4/5, thumbnails 80x80 at 45% until chosen (amber hairline), as the reference. */
.lbs-sp .wp-block-woocommerce-product-image-gallery { margin: 0; width: 100% !important; max-width: none !important; }
.lbs-sp .woocommerce-product-gallery { position: relative; margin: 0 !important; width: 100% !important; float: none !important; display: flex; flex-direction: column; gap: 12px; }
.lbs-sp .woocommerce-product-gallery__trigger { display: none; }
.lbs-sp .woocommerce-product-gallery .flex-viewport,
.lbs-sp .woocommerce-product-gallery__wrapper { margin: 0 !important; }
.lbs-sp :is(.woocommerce-product-gallery__image, .woocommerce-product-gallery__image--placeholder) { overflow: hidden; }
/* The photo-coming frame (a product without a photo) takes the same 4/5 box as a photo. */
.lbs-sp :is(.woocommerce-product-gallery__image, .woocommerce-product-gallery__image--placeholder) img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.7);
}
.lbs-sp .woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  gap: 8px;
  margin: 0 !important;
  padding: 0;
  list-style: none;
}
.lbs-sp .woocommerce-product-gallery .flex-control-thumbs li {
  width: 80px !important;
  height: 80px;
  flex: 0 0 80px;
  margin: 0 !important;
  padding: 0;
  float: none !important;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid transparent;
  cursor: pointer;
}
.lbs-sp .woocommerce-product-gallery .flex-control-thumbs li:has(img.flex-active) { border-color: var(--wp--preset--color--amber); }
.lbs-sp .woocommerce-product-gallery .flex-control-thumbs img {
  display: block;
  width: 78px;
  height: 78px;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(0.65);
  cursor: pointer;
  transition: opacity 0.15s;
}
.lbs-sp .woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity: 1; }
.lbs-sp .woocommerce-product-gallery .flex-viewport { background-color: var(--wp--preset--color--lagoon-mid); }

/*
 * Layout stability (Lighthouse mobile CLS 0.139, measured 0.238 at 390): before WooCommerce's slider
 * starts, the photos sat in the wrapper as a column (the first at 4/5, the others as 25% tiles 107px
 * tall), then for one frame the slider measured its slides at several times their width (the gallery
 * was 3303px tall at 390), then it settled at photo + 12px + the 80px thumbnail row, and the info
 * column under it moved with every step. Now the gallery is that final height from the first paint:
 * - before the slider: the first photo full width, the others as the 80x80 thumbnail row 12px below
 *   (the wrapper is still a direct child of the gallery; the slider moves it into .flex-viewport, so
 *   these rules stop matching once it runs);
 * - the slider's viewport keeps the photo's 4/5 box whatever its slides measure (its own inline
 *   height is the same 4/5 box once settled).
 */
.lbs-sp .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 8px;
}
.lbs-sp .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper > :is(.woocommerce-product-gallery__image:first-child, .woocommerce-product-gallery__image--placeholder) {
  flex: 0 0 100%;
  box-sizing: border-box;
}
.lbs-sp .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:nth-child(n+2) {
  display: block !important;
  flex: 0 0 80px;
  width: 80px !important;
  height: 80px;
  margin: 0 !important;
  box-sizing: border-box;
  border: 1px solid transparent;
}
.lbs-sp .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:nth-child(n+2) img {
  width: 78px !important;
  height: 78px !important;
  aspect-ratio: auto;
  opacity: 0.45;
  filter: saturate(0.65);
}
.lbs-sp .woocommerce-product-gallery .flex-viewport {
  aspect-ratio: 4 / 5;
  height: auto !important;
  overflow: hidden;
}

/* Info column. */
.lbs-sp .lbs-sp-info .wp-block-post-title { margin-bottom: 0; }
.lbs-sp .lbs-sp-desc > * { margin: 0; }
.lbs-sp .lbs-sp-desc > * + * { margin-top: 1em; }

/* Quantity row + add to cart + wishlist (reference: Kiekis [- 1 +] above [Į krepšelį][heart]). */
.lbs-sp .lbs-sp-buy {
  display: grid !important;
  grid-template-columns: auto auto 1fr 48px;
  column-gap: 12px;
  row-gap: 16px;
  align-items: center;
}
.lbs-sp .lbs-sp-buy > .wp-block-woocommerce-add-to-cart-form,
.lbs-sp .lbs-sp-buy form.cart { display: contents !important; }
.lbs-sp .lbs-sp-buy form.cart::before,
.lbs-sp .lbs-sp-buy form.cart::after,
.lbs-sp .lbs-sp-buy::before,
.lbs-sp .lbs-sp-buy::after { display: none !important; }
.lbs-sp .lbs-qty-label {
  grid-row: 1 !important;
  grid-column: 1 !important;
  font-size: var(--lbs-t-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--wp--preset--color--c-5-a-6-b-5-e) !important;
}
.lbs-sp .lbs-sp-buy .quantity {
  grid-row: 1 !important;
  grid-column: 2 !important;
  margin: 0 0 0 4px !important;
  height: auto !important;
  display: flex !important;
  align-items: center;
  width: max-content;
  border: 1px solid var(--wp--preset--color--ivory-a-20) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.lbs-sp .lbs-sp-buy .quantity::after { display: none; }
.lbs-sp .lbs-sp-buy .quantity .wc-block-components-quantity-selector__button {
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--wp--preset--color--ivory);
  font-family: var(--wp--preset--font-family--body);
  font-size: var(--lbs-t-h4);
  line-height: 28px;
  opacity: 1;
  cursor: pointer;
  transition: opacity 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lbs-sp .lbs-sp-buy .quantity .wc-block-components-quantity-selector__button:hover { opacity: 0.6; }
.lbs-sp .lbs-sp-buy .quantity .wc-block-components-quantity-selector__button:disabled { opacity: 1; cursor: default; }
.lbs-sp .lbs-sp-buy .quantity input.qty {
  width: 40px !important;
  height: 40px;
  min-height: 40px;
  padding: 0 !important;
  margin: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--wp--preset--color--ivory) !important;
  font-family: var(--wp--preset--font-family--body);
  font-size: var(--lbs-t-field);
  line-height: 20px;
  text-align: center;
  box-shadow: none;
  -moz-appearance: textfield;
  appearance: textfield;
}
.lbs-sp .lbs-sp-buy .quantity input.qty::-webkit-outer-spin-button,
.lbs-sp .lbs-sp-buy .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lbs-sp .lbs-sp-buy .single_add_to_cart_button {
  grid-row: 2 !important;
  grid-column: 1 / 4 !important;
  align-self: stretch;
  width: 100%;
  margin: 0 !important;
  padding: 16px !important;
  border: 0;
  border-radius: 0 !important;
  background: var(--wp--preset--color--amber) !important;
  color: var(--wp--preset--color--lagoon) !important;
  font-family: var(--wp--preset--font-family--body);
  font-size: var(--lbs-t-ui) !important;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.lbs-sp .lbs-sp-buy .single_add_to_cart_button:disabled,
.lbs-sp .lbs-sp-buy .single_add_to_cart_button.disabled { background: var(--wp--preset--color--smoke) !important; color: var(--wp--preset--color--c-5-a-6-b-5-e) !important; cursor: not-allowed; }
.lbs-sp .lbs-sp-buy .lbs-wish { grid-row: 2 !important; grid-column: 4 !important; }

/* Out-of-stock: WooCommerce prints "Out of stock" in place of the form; the reference greys the button. */
.lbs-sp .lbs-sp-buy .stock { grid-row: 2; grid-column: 1 / 4; margin: 0; }

/* Wishlist heart (any page): border and icon amber when saved, as the reference's toggle. */
:is(.lbs-sp, [data-dc-section^="grp:product-detail/"]) .lbs-wish { cursor: pointer; color: var(--wp--preset--color--mist); transition: border-color 0.2s, color 0.2s; }
:is(.lbs-sp, [data-dc-section^="grp:product-detail/"]) .lbs-wish .wp-block-image { margin: 0; background: none !important; line-height: 0; }
:is(.lbs-sp, [data-dc-section^="grp:product-detail/"]) .lbs-wish svg { width: 16px; height: 16px; display: block; }
:is(.lbs-sp, [data-dc-section^="grp:product-detail/"]) .lbs-wish[aria-pressed="true"] { border-color: var(--wp--preset--color--amber) !important; color: var(--wp--preset--color--amber); }
:is(.lbs-sp, [data-dc-section^="grp:product-detail/"]) .lbs-wish[aria-pressed="true"] svg path { fill: currentColor; }
:is(.lbs-sp, [data-dc-section^="grp:product-detail/"]) .lbs-wish:focus-visible { outline: 1px solid var(--wp--preset--color--amber); outline-offset: 2px; }

/* Spec tabs (product page and its static pattern): four equal tabs, centred; the active one amber with an amber underline. */
:is(.lbs-sp, [data-dc-section^="grp:product-detail/"]) .wp-block-tab-list { display: flex !important; gap: 0 !important; }
:is(.lbs-sp, [data-dc-section^="grp:product-detail/"]) .wp-block-tab-list button {
  flex: 1 1 0 !important;
  width: auto !important;
  text-align: center;
  font: inherit !important;
  color: var(--wp--preset--color--c-5-a-6-b-5-e) !important;
  border-bottom: 1px solid var(--wp--preset--color--ivory-a-10) !important;
  transition: color 0.2s, border-color 0.2s;
}
:is(.lbs-sp, [data-dc-section^="grp:product-detail/"]) .wp-block-tab-list button::before { display: none !important; }
:is(.lbs-sp, [data-dc-section^="grp:product-detail/"]) .wp-block-tab-list button[aria-selected="true"] {
  color: var(--wp--preset--color--amber) !important;
  border-color: var(--wp--preset--color--amber) !important;
}
:is(.lbs-sp, [data-dc-section^="grp:product-detail/"]) .wp-block-tab-panel > p { margin: 0; }

/* Related products: 2 columns, 3 from md (768px); photo 3/4 zooms on hover as the reference. */
.lbs-sp .lbs-related { margin: 0 !important; }
.lbs-sp .lbs-related .wc-block-product-template {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 768px) {
  .lbs-sp .lbs-related .wc-block-product-template { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
.lbs-sp .lbs-related .wc-block-product { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0; cursor: pointer; }
.lbs-sp .lbs-related .wc-block-components-product-image { margin: 0 !important; overflow: hidden; }
.lbs-sp .lbs-related .wc-block-components-product-image a { display: block; }
.lbs-sp .lbs-related .wc-block-components-product-image img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(0.65);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.lbs-sp .lbs-related .wc-block-product:hover .wc-block-components-product-image img { transform: scale(1.05); }
.lbs-sp .lbs-related .wp-block-post-title { margin: 12px 0 0 !important; text-align: left; }
.lbs-sp .lbs-related .wp-block-post-title a { display: block; color: inherit; text-decoration: none; }
.lbs-sp .lbs-related .wc-block-components-product-price { margin: 0 !important; text-align: left; display: block; }
.lbs-sp .lbs-related .wc-block-components-product-price { color: var(--wp--preset--color--mist); font-family: var(--wp--preset--font-family--body); font-size: 14px; line-height: 24px !important; }
.lbs-sp .lbs-related .wc-block-components-product-price * { color: inherit; font: inherit; line-height: 20px !important; }

/* The journey band's colour on the section itself (reference: the whole band is #0a100c). */
[data-dc-section="grp:product-detail/div/div/main/div/div[2]/div"] { background-color: var(--wp--preset--color--c-0-a-100-c); }

/*
 * The journey timeline ("Nuo marių iki jūsų stalo"). The operator asked for this one to be redesigned
 * rather than copied: one grid, equal columns (desktop) or equal rows (mobile), one 29px marker per step
 * centred on the connector, and one connector segment between each pair of markers with the same 12px
 * gap at both ends, so every segment is the same length and none runs past the first or last marker.
 * Works for any number of steps. Horizontal from the reference's md breakpoint (768px), vertical below.
 */
[data-dc-section="grp:product-detail/div/div/main/div/div[2]/div"] {
  /* odd on purpose: the marker's centre then falls on a half pixel, which is exactly where a 1px line's
     centre falls, so the hairline paints through the circle's centre instead of 0.5px above or below it */
  --lbs-j-mark: 29px;
  --lbs-j-gap: 12px;
  --lbs-j-line: var(--wp--preset--color--ivory-a-20);
}
[data-dc-section="grp:product-detail/div/div/main/div/div[2]/div"] .lbs-journey {
  display: grid;
  grid-auto-rows: 1fr;
  margin: 0;
  padding: 0;
}
[data-dc-section="grp:product-detail/div/div/main/div/div[2]/div"] .lbs-journey-step {
  position: relative;
  display: grid;
  grid-template-columns: var(--lbs-j-mark) minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
  margin: 0 !important;
  padding: 0 0 40px;
}
[data-dc-section="grp:product-detail/div/div/main/div/div[2]/div"] .lbs-journey-step:last-child { padding-bottom: 0; }
[data-dc-section="grp:product-detail/div/div/main/div/div[2]/div"] .lbs-journey-mark {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--lbs-j-mark);
  height: var(--lbs-j-mark);
  margin: 0;
  /* letter-spacing leaves 0.18em after the last digit; this puts the digits on the circle's centre */
  padding: 0 0 0 0.18em;
  border: 1px solid var(--wp--preset--color--amber);
  border-radius: 50%;
  line-height: 1 !important;
  font-variant-numeric: tabular-nums;
}
[data-dc-section="grp:product-detail/div/div/main/div/div[2]/div"] .lbs-journey-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 !important;
  /* first label line (15px) centred on the marker */
  padding-top: calc((var(--lbs-j-mark) - 15px) / 2);
}
[data-dc-section="grp:product-detail/div/div/main/div/div[2]/div"] .lbs-journey-text > * { margin: 0 !important; }
[data-dc-section="grp:product-detail/div/div/main/div/div[2]/div"] .lbs-journey-desc { max-width: 34ch; }
/* Mobile connector: down the marker axis, from 12px under this marker to 12px above the next one. */
[data-dc-section="grp:product-detail/div/div/main/div/div[2]/div"] .lbs-journey-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(var(--lbs-j-mark) / 2 - 0.5px);
  top: calc(var(--lbs-j-mark) + var(--lbs-j-gap));
  /* ...and the sub-pixel remainder split evenly, so the gap is the same at both ends */
  top: calc(var(--lbs-j-mark) + var(--lbs-j-gap) + (100% - var(--lbs-j-mark) - 2 * var(--lbs-j-gap) - round(down, calc(100% - var(--lbs-j-mark) - 2 * var(--lbs-j-gap)), 1px)) / 2);
  width: 1px;
  height: calc(100% - var(--lbs-j-mark) - 2 * var(--lbs-j-gap));
  /* whole pixels, so every segment paints the same length whatever the row's sub-pixel position */
  height: round(down, calc(100% - var(--lbs-j-mark) - 2 * var(--lbs-j-gap)), 1px);
  background-color: var(--lbs-j-line);
  pointer-events: none;
}
@media (min-width: 768px) {
  [data-dc-section="grp:product-detail/div/div/main/div/div[2]/div"] .lbs-journey-head { align-items: center; text-align: center; }
  [data-dc-section="grp:product-detail/div/div/main/div/div[2]/div"] .lbs-journey-head > * { margin-left: 0 !important; margin-right: 0 !important; }
  [data-dc-section="grp:product-detail/div/div/main/div/div[2]/div"] .lbs-journey-head > p:first-child { padding-left: 0.25em; }
  [data-dc-section="grp:product-detail/div/div/main/div/div[2]/div"] .lbs-journey {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    margin-top: 16px;
  }
  [data-dc-section="grp:product-detail/div/div/main/div/div[2]/div"] .lbs-journey-step {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    row-gap: 20px;
    padding: 0 12px;
    text-align: center;
  }
  [data-dc-section="grp:product-detail/div/div/main/div/div[2]/div"] .lbs-journey-step:last-child { padding: 0 12px; }
  [data-dc-section="grp:product-detail/div/div/main/div/div[2]/div"] .lbs-journey-text { align-items: center; padding-top: 0; }
  [data-dc-section="grp:product-detail/div/div/main/div/div[2]/div"] .lbs-journey-label { padding-left: 0.18em; }
  [data-dc-section="grp:product-detail/div/div/main/div/div[2]/div"] .lbs-journey-desc { max-width: 22ch; text-wrap: balance; }
  /* Desktop connector: along the marker axis, from 12px right of this marker to 12px left of the next. */
  [data-dc-section="grp:product-detail/div/div/main/div/div[2]/div"] .lbs-journey-step:not(:last-child)::after {
    left: calc(50% + var(--lbs-j-mark) / 2 + var(--lbs-j-gap));
    left: calc(50% + var(--lbs-j-mark) / 2 + var(--lbs-j-gap) + (100% - var(--lbs-j-mark) - 2 * var(--lbs-j-gap) - round(down, calc(100% - var(--lbs-j-mark) - 2 * var(--lbs-j-gap)), 1px)) / 2);
    top: calc(var(--lbs-j-mark) / 2 - 0.5px);
    width: calc(100% - var(--lbs-j-mark) - 2 * var(--lbs-j-gap));
    width: round(down, calc(100% - var(--lbs-j-mark) - 2 * var(--lbs-j-gap)), 1px);
    height: 1px;
  }
}

/* ---------- Shared card behaviour (shop, product related, experiences, accommodation) ---------- */

/* A card is one link: its heading carries the href, the rest of the card follows it (pages-a.js). */
.lbs-card { cursor: pointer; }
.lbs-card:not(:has(:is(h2, h3, h4) a)) { cursor: auto; }
.lbs-card :is(h2, h3, h4) a { color: inherit; text-decoration: none; }
.lbs-card :is(h2, h3, h4) a:focus-visible { outline: 1px solid var(--wp--preset--color--amber); outline-offset: 2px; }

/* Photo zoom on card hover: reference "transition-transform duration-700 group-hover:scale-105". */
.lbs-zoom { overflow: hidden; }
.lbs-zoom :is(img, .wp-block-cover__image-background) {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.lbs-card:hover .lbs-zoom :is(img, .wp-block-cover__image-background),
.lbs-zoom.lbs-zoom-self:hover :is(img, .wp-block-cover__image-background) { transform: scale(1.05); }

/* ---------- Shop ---------- */

[data-dc-section^="grp:shop/"] :is(.wp-block-image img, .wp-block-cover__image-background) { filter: saturate(0.65); }

/* Category tabs: one row that scrolls sideways inside the band on a phone (reference overflowX: auto). */
[data-dc-section="grp:shop/div/div/main/div/div[1]/div"] .lbs-tabscroll { overflow-x: auto; scrollbar-width: none; }
[data-dc-section="grp:shop/div/div/main/div/div[1]/div"] .lbs-tabscroll::-webkit-scrollbar { display: none; }
[data-dc-section="grp:shop/div/div/main/div/div[1]/div"] .lbs-tabrow { flex-wrap: nowrap !important; gap: 24px; }
[data-dc-section="grp:shop/div/div/main/div/div[1]/div"] .lbs-tabrow > * { flex-shrink: 0; margin: 0; transition: color 0.2s; }
@media (min-width: 768px) {
  [data-dc-section="grp:shop/div/div/main/div/div[1]/div"] .lbs-tabrow { gap: 32px; }
}

/* Toolbar: Filtrai 37px, search field 178x42 with its hairline, sort 150px wide (reference measures). */
[data-dc-section="grp:shop/div/div/main/div/div[2]/div"] .lbs-filter-btn { cursor: pointer; transition: color 0.2s, border-color 0.2s; }
[data-dc-section="grp:shop/div/div/main/div/div[2]/div"] .lbs-filter-btn .wp-block-image { margin: 0; background: none; line-height: 0; }
[data-dc-section="grp:shop/div/div/main/div/div[2]/div"] .lbs-shop-search { margin: 0; }
[data-dc-section="grp:shop/div/div/main/div/div[2]/div"] .lbs-shop-search .wp-block-search__inside-wrapper {
  width: 178px !important;
  box-sizing: border-box;
  padding: 0 !important;
  border: 1px solid var(--wp--preset--color--ivory-a-15) !important;
  background: transparent;
}
[data-dc-section="grp:shop/div/div/main/div/div[2]/div"] .lbs-shop-search .wp-block-search__input {
  width: 176px;
  height: 40px;
  box-sizing: border-box;
  margin: 0;
  padding: 10px 16px !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--wp--preset--color--ivory);
  font-family: var(--wp--preset--font-family--body);
  font-size: var(--lbs-t-field);
  line-height: 20px;
}
[data-dc-section="grp:shop/div/div/main/div/div[2]/div"] .lbs-shop-search .wp-block-search__input:focus { outline: none; }
[data-dc-section="grp:shop/div/div/main/div/div[2]/div"] .lbs-shop-search .wp-block-search__input::placeholder { color: rgba(240, 232, 214, 0.5); opacity: 1; }
[data-dc-section="grp:shop/div/div/main/div/div[2]/div"] .lbs-sort .wp-block-button__link { min-width: 150px; text-align: left; }

/* Hero cards: the reference's bottom-up shade, not an even dim. */
[data-dc-section="grp:shop/div/div/main/div/div[2]/div"] .lbs-card > .wp-block-cover > .wp-block-cover__background {
  background: linear-gradient(to top, rgba(14, 24, 18, 0.9) 0%, transparent 50%) !important;
  opacity: 1 !important;
}
/* Unavailable product: photo at 55% on #182619, as the reference. */
[data-dc-section="grp:shop/div/div/main/div/div[2]/div"] .lbs-shop-grid .wp-block-cover > .wp-block-cover__background {
  background-color: var(--wp--preset--color--lagoon-mid) !important;
  opacity: 0.45 !important;
}

/* "+ Krepšelis" appears on card hover only (reference opacity-0 group-hover:opacity-100). */
[data-dc-section="grp:shop/div/div/main/div/div[2]/div"] .lbs-reveal { opacity: 0; transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
[data-dc-section="grp:shop/div/div/main/div/div[2]/div"] .lbs-card:hover .lbs-reveal,
[data-dc-section="grp:shop/div/div/main/div/div[2]/div"] .lbs-reveal:focus-within { opacity: 1; }
[data-dc-section="grp:shop/div/div/main/div/div[2]/div"] .lbs-reveal a { color: inherit; text-decoration: none; }

/* Grids at the reference's breakpoints: hero row one column below lg, product grid 2 / 3 (md) / 4 (lg). */
[data-dc-section="grp:shop/div/div/main/div/div[2]/div"] .lbs-shop-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
@media (min-width: 768px) {
  [data-dc-section="grp:shop/div/div/main/div/div[2]/div"] .lbs-shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 20px !important; }
}
@media (min-width: 1024px) {
  [data-dc-section="grp:shop/div/div/main/div/div[2]/div"] .lbs-shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (max-width: 1023.98px) {
  [data-dc-section="grp:shop/div/div/main/div/div[2]/div"] .is-layout-grid:not(.lbs-shop-grid):has(> .lbs-card > .wp-block-cover) { grid-template-columns: minmax(0, 1fr) !important; }
  [data-dc-section="grp:shop/div/div/main/div/div[2]/div"] .is-layout-grid:not(.lbs-shop-grid):has(> .lbs-card > .wp-block-cover) > * { grid-column: 1 / -1 !important; }
  [data-dc-section="grp:shop/div/div/main/div/div[2]/div"] .is-layout-grid:not(.lbs-shop-grid):has(> .lbs-card > .wp-block-cover) > .lbs-card + .lbs-card {
    min-height: calc((100vw - 2 * var(--wp--preset--spacing--spr-24-80)) * 7 / 6) !important;
  }
}

/* ---------- Product detail (static design page, patterns grp:product-detail/...) ---------- */

[data-dc-section="grp:product-detail/div/div/main/div/div[1]/div"] .wp-block-column:first-child > .wp-block-image img { filter: saturate(0.7); transition: opacity 0.3s; }
[data-dc-section^="grp:product-detail/"] .lbs-thumbs .wp-block-image,
[data-dc-section^="grp:product-detail/"] .lbs-zoom img { filter: none; }
[data-dc-section^="grp:product-detail/"] .lbs-zoom img { filter: saturate(0.65); }
[data-dc-section="grp:product-detail/div/div/main/div/div[1]/div"] .lbs-thumbs .wp-block-image {
  background: transparent !important;
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
  margin: 0;
  box-sizing: border-box;
  border: 1px solid transparent;
  overflow: hidden;
  cursor: pointer;
}
[data-dc-section="grp:product-detail/div/div/main/div/div[1]/div"] .lbs-thumbs .wp-block-image img {
  width: 78px !important;
  height: 78px !important;
  border: 0 !important;
  opacity: 0.45;
  filter: saturate(0.65);
  transition: opacity 0.15s;
}
[data-dc-section="grp:product-detail/div/div/main/div/div[1]/div"] .lbs-thumbs:not(.is-ready) .wp-block-image:first-child,
[data-dc-section="grp:product-detail/div/div/main/div/div[1]/div"] .lbs-thumbs .wp-block-image.is-active { border-color: var(--wp--preset--color--amber); }
[data-dc-section="grp:product-detail/div/div/main/div/div[1]/div"] .lbs-thumbs:not(.is-ready) .wp-block-image:first-child img,
[data-dc-section="grp:product-detail/div/div/main/div/div[1]/div"] .lbs-thumbs .wp-block-image.is-active img { opacity: 1; }

/* Quantity stepper: 40px squares, glyphs dim on hover (reference hover:opacity-60). */
[data-dc-section="grp:product-detail/div/div/main/div/div[1]/div"] .lbs-stepper .wp-block-buttons { margin: 0; }
[data-dc-section="grp:product-detail/div/div/main/div/div[1]/div"] .lbs-stepper .wp-block-button__link {
  width: 40px;
  height: 40px;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  transition: opacity 0.15s;
}
[data-dc-section="grp:product-detail/div/div/main/div/div[1]/div"] .lbs-stepper .wp-block-button__link:hover { opacity: 0.6; }

/* ---------- Experiences ---------- */

/* Hero: saturate(0.55) photo under the reference's three-stop shade (top .4, 40% .1, bottom .85). */
[data-dc-section="grp:experiences/div/div/main/div/div[0]"] .lbs-hero .wp-block-cover__image-background { filter: saturate(0.55); }
[data-dc-section="grp:experiences/div/div/main/div/div[0]"] .lbs-hero > .wp-block-cover__background {
  background: linear-gradient(to bottom, rgba(14, 24, 18, 0.4) 0%, rgba(14, 24, 18, 0.1) 40%, rgba(14, 24, 18, 0.85) 100%) !important;
  opacity: 1 !important;
}

/* Category tabs scroll sideways inside the page width (reference: overflow-x-auto on the row itself). */
[data-dc-section="grp:experiences/div/div/main/div/div[1]/div"] .lbs-tabrow {
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 24px;
}
[data-dc-section="grp:experiences/div/div/main/div/div[1]/div"] .lbs-tabrow::-webkit-scrollbar { display: none; }
[data-dc-section="grp:experiences/div/div/main/div/div[1]/div"] .lbs-tabrow > * { flex-shrink: 0; margin: 0; transition: color 0.2s; }
@media (min-width: 768px) {
  [data-dc-section="grp:experiences/div/div/main/div/div[1]/div"] .lbs-tabrow { gap: 32px; }
}

/* Experience rows: photo on #182619 at saturate(0.6), zooming when the row is hovered. */
[data-dc-section="grp:experiences/div/div/main/div/div[2]/div"] .wp-block-group:has(> .lbs-zoom) { background-color: var(--wp--preset--color--lagoon-mid); overflow: hidden; }
[data-dc-section="grp:experiences/div/div/main/div/div[2]/div"] .lbs-zoom .wp-block-cover__image-background { filter: saturate(0.6); }
[data-dc-section="grp:experiences/div/div/main/div/div[2]/div"] .lbs-zoom > .wp-block-cover__background { opacity: 0 !important; }
/* One column below the reference's lg (1024px), photo first; 7/5 split with the photo alternating above it. */
@media (max-width: 1023.98px) {
  [data-dc-section="grp:experiences/div/div/main/div/div[2]/div"] .lbs-card { grid-template-columns: minmax(0, 1fr) !important; }
  [data-dc-section="grp:experiences/div/div/main/div/div[2]/div"] .lbs-card > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  [data-dc-section="grp:experiences/div/div/main/div/div[2]/div"] .lbs-card > .wp-block-group:has(> .lbs-zoom) { order: -1; }
}

/* "Sužinoti daugiau →": the reference's hover-line, an underline drawn left to right. */
:is([data-dc-section^="grp:experiences/"], [data-dc-section^="grp:home/"]) .lbs-more { position: relative; display: inline-block; align-self: center; cursor: pointer; transition: color 0.15s; }
:is([data-dc-section^="grp:experiences/"]) .lbs-more a { color: inherit; text-decoration: none; }
:is([data-dc-section^="grp:experiences/"]) .lbs-more::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
:is([data-dc-section^="grp:experiences/"]) .lbs-more:hover::after { width: 100%; }

/* ---------- Experience detail ---------- */

[data-dc-section="grp:experience-detail/div/div/main/div/div[0]"] .lbs-hero .wp-block-cover__image-background { filter: saturate(0.55); }
[data-dc-section="grp:experience-detail/div/div/main/div/div[0]"] .lbs-hero > .wp-block-cover__background {
  background: linear-gradient(to bottom, rgba(14, 24, 18, 0.3) 0%, rgba(14, 24, 18, 0.1) 40%, rgba(14, 24, 18, 0.9) 100%) !important;
  opacity: 1 !important;
}
/* "← Visos patirtys": 60% until hovered (reference opacity-60 hover:opacity-100). */
[data-dc-section="grp:experience-detail/div/div/main/div/div[0]"] .lbs-back { color: var(--wp--preset--color--ivory) !important; opacity: 0.6; transition: opacity 0.15s; }
[data-dc-section="grp:experience-detail/div/div/main/div/div[0]"] .lbs-back:hover { opacity: 1; }
[data-dc-section="grp:experience-detail/div/div/main/div/div[0]"] .lbs-back a { color: inherit; text-decoration: none; }

[data-dc-section="grp:experience-detail/div/div/main/div/div[1]/div"] .lbs-xd-gallery .wp-block-image img { filter: saturate(0.6); }
/* One column below lg (1024px); the booking card stays in view while the story scrolls (reference sticky top-24). */
@media (max-width: 1023.98px) {
  [data-dc-section="grp:experience-detail/div/div/main/div/div[1]/div"] .lbs-xd-cols { flex-direction: column; flex-wrap: nowrap !important; gap: 40px; }
  [data-dc-section="grp:experience-detail/div/div/main/div/div[1]/div"] .lbs-xd-cols > .wp-block-column { flex-basis: auto !important; width: 100%; }
}
@media (min-width: 1024px) {
  [data-dc-section="grp:experience-detail/div/div/main/div/div[1]/div"] .lbs-xd-cols { flex-wrap: nowrap !important; }
  [data-dc-section="grp:experience-detail/div/div/main/div/div[1]/div"] .lbs-xd-book { position: sticky; top: 96px; }
}

/* Date choice: the chosen date amber on an amber wash, the others hairline + mist (reference). */
[data-dc-section="grp:experience-detail/div/div/main/div/div[1]/div"] .lbs-dates .wp-block-button__link {
  background-color: transparent !important;
  border-color: var(--wp--preset--color--ivory-a-10) !important;
  color: var(--wp--preset--color--mist) !important;
  cursor: pointer;
  transition: all 0.2s;
}
[data-dc-section="grp:experience-detail/div/div/main/div/div[1]/div"] .lbs-dates:not(.is-ready) .wp-block-button:first-child .wp-block-button__link,
[data-dc-section="grp:experience-detail/div/div/main/div/div[1]/div"] .lbs-dates .wp-block-button__link[aria-pressed="true"] {
  background-color: var(--wp--preset--color--amber-a-8) !important;
  border-color: var(--wp--preset--color--amber) !important;
  color: var(--wp--preset--color--amber) !important;
}
[data-dc-section="grp:experience-detail/div/div/main/div/div[1]/div"] .lbs-guests .wp-block-button__link {
  width: 36px;
  height: 36px;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  cursor: pointer;
  transition: opacity 0.15s;
}
[data-dc-section="grp:experience-detail/div/div/main/div/div[1]/div"] .lbs-guests .wp-block-button__link:hover { opacity: 0.6; }

/* ---------- Accommodation ---------- */

[data-dc-section="grp:accommodation/div/div/main/div/div[0]"] .lbs-hero .wp-block-cover__image-background { filter: saturate(0.5); }
[data-dc-section="grp:accommodation/div/div/main/div/div[0]"] .lbs-hero > .wp-block-cover__background {
  background: linear-gradient(to bottom, rgba(14, 24, 18, 0.3) 0%, rgba(14, 24, 18, 0.05) 40%, rgba(14, 24, 18, 0.92) 100%) !important;
  opacity: 1 !important;
}

/* Rooms: photo 4/3 on #182619 at saturate(0.55), zooming under the pointer; one column below lg (1024px). */
[data-dc-section="grp:accommodation/div/div/main/div/div[2]/div"] .lbs-zoom img { filter: saturate(0.55); }
@media (max-width: 1023.98px) {
  [data-dc-section="grp:accommodation/div/div/main/div/div[2]/div"] .lbs-room { grid-template-columns: minmax(0, 1fr) !important; }
  [data-dc-section="grp:accommodation/div/div/main/div/div[2]/div"] .lbs-room > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  [data-dc-section="grp:accommodation/div/div/main/div/div[2]/div"] .lbs-room > .lbs-zoom { order: -1; }
}
/* "Rezervuoti" chosen: amber fill, "✓ Pasirinkta" (reference selectedRoom state). */
[data-dc-section="grp:accommodation/div/div/main/div/div[2]/div"] .lbs-room-book .wp-block-button__link { transition: all 0.2s; }
[data-dc-section="grp:accommodation/div/div/main/div/div[2]/div"] .lbs-room-book .wp-block-button__link[aria-pressed="true"] {
  background-color: var(--wp--preset--color--amber) !important;
  color: var(--wp--preset--color--lagoon) !important;
}
/* The reference's selection bar, fixed to the foot of the screen while a room is chosen (inc/pages-a.php). */
.lbs-bk-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 16px 24px;
  background: var(--wp--preset--color--amber);
  font-family: var(--wp--preset--font-family--body);
}
.lbs-bk-cta[hidden] { display: none; }
.lbs-bk-cta-in { max-width: 1440px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lbs-bk-cta-txt { color: var(--wp--preset--color--lagoon); font-size: var(--lbs-t-label); font-weight: 500; letter-spacing: 0.18em; line-height: 15px; text-transform: uppercase; }
.lbs-bk-cta .lbs-bk-cta-go,
.lbs-bk-cta .lbs-bk-cta-go:visited,
.lbs-bk-cta .lbs-bk-cta-go:hover {
  flex-shrink: 0;
  padding: 12px 32px;
  background: var(--wp--preset--color--lagoon);
  color: var(--wp--preset--color--ivory);
  font: 500 var(--lbs-t-ui)/18px var(--wp--preset--font-family--body);
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
}

/* Band: Atvykimas | Išvykimas | Asmenys - 2 + | Tikrinti, 16px apart, feet aligned; stacked and
   right-aligned on a phone (reference flex-col md:flex-row items-end). Markup: inc/pages-a.php. */
[data-dc-section="grp:accommodation/div/div/main/div/div[1]/div/div"] .lbs-bk { margin: 0; }
[data-dc-section="grp:accommodation/div/div/main/div/div[1]/div/div"] .lbs-bk-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
@media (min-width: 768px) {
  [data-dc-section="grp:accommodation/div/div/main/div/div[1]/div/div"] .lbs-bk-bar { flex-direction: row; }
  [data-dc-section="grp:accommodation/div/div/main/div/div[1]/div/div"] .lbs-bk-date { flex: 1 1 0; min-width: 0; }
}
[data-dc-section="grp:accommodation/div/div/main/div/div[1]/div/div"] .lbs-bk-f label,
[data-dc-section="grp:accommodation/div/div/main/div/div[1]/div/div"] .lbs-bk-guests { display: flex; flex-direction: column; gap: 8px; margin: 0; }
[data-dc-section="grp:accommodation/div/div/main/div/div[1]/div/div"] .lbs-bk-label {
  color: var(--wp--preset--color--c-5-a-6-b-5-e);
  font-family: var(--wp--preset--font-family--body);
  font-size: var(--lbs-t-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 13.5px;
  text-transform: uppercase;
}
[data-dc-section="grp:accommodation/div/div/main/div/div[1]/div/div"] .lbs-bk .lbs-bk-input {
  width: 100%;
  height: 46px;
  min-height: 46px !important;
  box-sizing: border-box;
  margin: 0;
  padding: 12px 16px !important;
  border: 1px solid var(--wp--preset--color--ivory-a-15) !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--wp--preset--color--ivory);
  color-scheme: dark;
  font-family: var(--wp--preset--font-family--body);
  font-size: var(--lbs-t-field) !important;
  line-height: 20px !important;
}
[data-dc-section="grp:accommodation/div/div/main/div/div[1]/div/div"] .lbs-bk .lbs-bk-input:focus { outline: none; border-color: var(--wp--preset--color--amber) !important; }
/* Guests: [ - | 2 | + ] in one hairline box, 52px tall, as the reference stepper. */
[data-dc-section="grp:accommodation/div/div/main/div/div[1]/div/div"] .lbs-bk-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--wp--preset--color--ivory-a-15);
}
[data-dc-section="grp:accommodation/div/div/main/div/div[1]/div/div"] .lbs-bk-step {
  padding: 12px 16px;
  border: 0;
  background: transparent;
  color: var(--wp--preset--color--ivory);
  font-family: var(--wp--preset--font-family--body);
  font-size: var(--lbs-t-h4);
  line-height: 28px;
  cursor: pointer;
  transition: opacity 0.15s;
}
[data-dc-section="grp:accommodation/div/div/main/div/div[1]/div/div"] .lbs-bk-step:hover { opacity: 0.6; }
[data-dc-section="grp:accommodation/div/div/main/div/div[1]/div/div"] .lbs-bk-count {
  padding: 0 16px;
  color: var(--wp--preset--color--ivory);
  font-family: var(--wp--preset--font-family--body);
  font-size: var(--lbs-t-pill);
  line-height: 20px;
}
[data-dc-section="grp:accommodation/div/div/main/div/div[1]/div/div"] .lbs-bk-check {
  display: block;
  padding: 12px 32px;
  border: 0;
  border-radius: 0;
  background: var(--wp--preset--color--amber);
  color: var(--wp--preset--color--lagoon);
  font-family: var(--wp--preset--font-family--body);
  font-size: var(--lbs-t-ui);
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 15px;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

/*
 * The booking-request step (inc/pages-a.php, ?bustas=...&uzklausa=1): the checkout's step 01 -
 * the step row (reference CheckoutPage.tsx: pt-24 md:pt-32 pb-8, mb-10 md:mb-14), then the form in
 * 7 of 12 columns and the card in 5 (gap-10 lg:gap-16), pb-16. Fields, buttons, the section titles
 * and the card are the checkout's own classes (assets/woo.css).
 */
.lbs-bkstep {
  margin: 0;
  padding: 0 var(--wp--preset--spacing--spr-24-80);
  background: var(--wp--preset--color--lagoon);
  color: var(--wp--preset--color--ivory);
}
.lbs-bkstep .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.lbs-bkstep [hidden] { display: none !important; }
.lbs-bkstep__head,
.lbs-bkstep__body { max-width: 1440px; margin: 0 auto; }
/* No top padding: <main> already clears the fixed header (165u / 110px), as on the checkout, whose step row
   sits right there; the old 96 / 128px stacked on top of it (live 2026-10-20: the step row 179px under the header). */
.lbs-bkstep__head { padding: 0 0 32px; }
.lbs-bkstep__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 64px;
}
.lbs-bkstep__main,
.lbs-bkstep__side { min-width: 0; }
/* One column (phones, tablets): what is being asked for comes first, the form under it. */
@media (max-width: 1023px) { .lbs-bkstep__side { order: -1; } }
@media (min-width: 1024px) {
  .lbs-bkstep__body { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 64px; }
  .lbs-bkstep__main { grid-column: span 7; }
  .lbs-bkstep__side { grid-column: span 5; }
}
/* Step row: 28px circles, 9px labels, the rule between them (checkout's indicator values). */
.lbs-bkstep__steps { display: flex; align-items: center; margin: 0 0 40px; padding: 0; list-style: none; overflow-x: auto; }
@media (min-width: 768px) { .lbs-bkstep__steps { margin-bottom: 56px; } }
.lbs-bkstep__step { display: flex; flex-shrink: 0; align-items: center; gap: 8px; margin: 0; }
@media (min-width: 768px) { .lbs-bkstep__step { gap: 12px; } }
.lbs-bkstep__num {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--wp--preset--color--ivory-a-15);
  border-radius: 50%;
  color: var(--wp--preset--color--c-5-a-6-b-5-e);
  font-size: var(--lbs-t-label);
  line-height: 16px;
}
.lbs-bkstep__label {
  color: var(--wp--preset--color--c-5-a-6-b-5-e);
  font-size: var(--lbs-t-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 13.5px;
  text-transform: uppercase;
}
.lbs-bkstep__line { flex-shrink: 0; width: 32px; height: 1px; margin: 0 12px; background: var(--wp--preset--color--ivory-a-12); }
@media (min-width: 768px) { .lbs-bkstep__line { width: 64px; margin: 0 16px; } }
.lbs-bkstep__step.is-current .lbs-bkstep__num { border: 0; background: var(--wp--preset--color--amber); color: var(--wp--preset--color--lagoon); }
.lbs-bkstep__step.is-current .lbs-bkstep__label { color: var(--wp--preset--color--ivory); }
/* Sent: 01 done (checkmark on amber-30, amber label and rule), 02 current. */
.lbs-bkstep:has(form.sent) .lbs-bkstep__step.is-current .lbs-bkstep__num { font-size: 0; background: rgba(192, 139, 82, 0.3); color: var(--wp--preset--color--amber); }
.lbs-bkstep:has(form.sent) .lbs-bkstep__step.is-current .lbs-bkstep__num::before { content: "✓"; font-size: var(--lbs-t-label); }
.lbs-bkstep:has(form.sent) .lbs-bkstep__step.is-current .lbs-bkstep__label { color: var(--wp--preset--color--amber); }
.lbs-bkstep:has(form.sent) .lbs-bkstep__line { background: var(--wp--preset--color--amber); }
.lbs-bkstep:has(form.sent) .lbs-bkstep__step:last-child .lbs-bkstep__num { border: 0; background: var(--wp--preset--color--amber); color: var(--wp--preset--color--lagoon); }
.lbs-bkstep:has(form.sent) .lbs-bkstep__step:last-child .lbs-bkstep__label { color: var(--wp--preset--color--ivory); }
/* The form: two checkout-style blocks, the note, the actions. */
.lbs-bkstep .wpcf7 form { margin: 0; }
.lbs-bkstep .wpcf7-form p { margin: 0; }
/* Contact Form 7 wraps each run of inline tags in a <p> (its autop); inside the grid and the actions
   row that <p> must not be a box, so the fields and buttons are the grid / flex items themselves. */
.lbs-bkstep :is(.lbs-step__grid, .lbs-step__actions) > p { display: contents; }
.lbs-bkf { display: flex; flex-direction: column; gap: 40px; }
.lbs-bkstep .lbs-field .wpcf7-form-control-wrap { display: block; }
.lbs-bkstep .lbs-field input.lbs-field__input {
  height: 50px; /* the checkout's text field; a date field's picker would otherwise make it 52px */
  min-height: 0;
  padding: 14px 16px;
  border: 1px solid var(--lbs-line-15);
  border-radius: 0;
  background: transparent;
  color: var(--lbs-ivory);
  color-scheme: dark;
  font-size: var(--lbs-t-field);
  line-height: 20px;
}
.lbs-bkstep .lbs-field input.lbs-field__input:focus { border-color: var(--lbs-line-25); outline: none; }
.lbs-bkstep .lbs-field input.lbs-field__input.wpcf7-not-valid { border-color: var(--lbs-amber); }
.lbs-bkstep .wpcf7-not-valid-tip { display: block; margin-top: 6px; color: var(--lbs-amber); font-size: var(--lbs-t-meta); line-height: 1.4; }
.lbs-bkf__note { margin: -16px 0 0; color: var(--lbs-mist); font-size: var(--lbs-t-meta); line-height: 1.625; }
/* "Papildomai norėčiau" (inc/extras.php): the choices as ticks in the site's light pill fields (assets/restyle.css), no prices. */
.lbs-bkstep .lbs-bkf__hint { margin: -12px 0 0; color: var(--lbs-mist); font-size: var(--lbs-t-meta); line-height: 1.625; }
.lbs-bkstep .lbs-bkf__extras .wpcf7-form-control-wrap { display: block; }
.lbs-bkstep .lbs-bkf__extras .wpcf7-checkbox { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px 20px; }
.lbs-bkstep .lbs-bkf__extras .wpcf7-list-item { margin: 0; }
.lbs-bkstep .lbs-bkf__extras .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  height: 100%;
  padding: 12px 20px;
  border: 1px solid rgba(27, 42, 71, 0.15);
  border-radius: 25px;
  background-color: rgba(255, 255, 255, 0.35);
  color: var(--lbs-ink);
  font-size: 15px;
  line-height: 20px;
  cursor: pointer;
}
.lbs-bkstep .lbs-bkf__extras .wpcf7-list-item label:has(input:checked) { border-color: rgba(27, 42, 71, 0.5); background-color: rgba(255, 255, 255, 0.6); }
.lbs-bkstep .lbs-bkf__extras .wpcf7-list-item label:has(input:focus-visible) { outline: 2px solid var(--lbs-ink); outline-offset: 2px; }
.lbs-bkstep .lbs-bkf__extras input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--lbs-ink); }
.lbs-bkstep .lbs-step__actions { align-items: center; }
.lbs-bkstep .lbs-step__actions .wpcf7-spinner { margin: 0 0 0 16px; }
.lbs-bkstep .wpcf7 form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--lbs-line-15);
  color: var(--lbs-ivory);
  font-size: var(--lbs-t-body);
  line-height: 20px;
}
.lbs-bkstep .wpcf7 form.invalid .wpcf7-response-output,
.lbs-bkstep .wpcf7 form.failed .wpcf7-response-output { border-color: var(--lbs-amber); }
/* Sent: the fields give way to the confirmation. */
.lbs-bkstep .wpcf7 form.sent .lbs-bkf { display: none; }
.lbs-bkstep .wpcf7 form.sent .wpcf7-response-output {
  margin: 0;
  padding: 24px;
  border-color: var(--lbs-amber);
  font-family: var(--lbs-display);
  font-size: var(--lbs-t-h3-l);
  font-style: italic;
  font-weight: 300;
  line-height: 32px;
}

/* Static product page breadcrumb: "Produktai" dims on hover, no underline (reference hover:opacity-70). */
[data-dc-section="grp:product-detail/div/div/main/div/div[0]/div"] a { color: inherit; text-decoration: none; transition: opacity 0.15s; }
[data-dc-section="grp:product-detail/div/div/main/div/div[0]/div"] a:hover { opacity: 0.7; }

/* Card titles: the link fills the heading's line box, so the title measures as the reference's block title. */
.lbs-card :is(h2, h3, h4) a { display: block; }
/* Shop: the Filtrai control is text-styled at its own box (reference <button> label-xs); hero cards sit on #182619. */
[data-dc-section="grp:shop/div/div/main/div/div[2]/div"] .lbs-filter-btn { text-align: center; color: var(--wp--preset--color--mist); font-size: var(--lbs-t-ui); font-weight: 500; letter-spacing: 0.18em; line-height: 15px; text-transform: uppercase; }
[data-dc-section="grp:shop/div/div/main/div/div[2]/div"] .is-layout-grid:not(.lbs-shop-grid) > .lbs-card:has(> .wp-block-cover) { background-color: var(--wp--preset--color--lagoon-mid); }
/* Second hero card: price and "+ Krepšelis" sit together, no gap (reference justify-between in a shrink-wrapped box). */
[data-dc-section="grp:shop/div/div/main/div/div[2]/div"] .lbs-card + .lbs-card > .wp-block-cover .is-content-justification-space-between { gap: 0 !important; justify-content: flex-start !important; }
/* Journey (phone): the rule between steps is a 1px fill, as the reference's h-px line. */
[data-dc-section="grp:product-detail/div/div/main/div/div[2]/div"] .wp-block-group[style*="border-top-width:1px"]:empty {
  border-top: 0 !important;
  height: 1px;
  background-color: var(--wp--preset--color--ivory-a-10);
}

/* Section wrappers carry their band's colour too (the reference paints the band on its outer box). */
[data-dc-section="grp:experiences/div/div/main/div/div[3]/div"],
[data-dc-section="grp:accommodation/div/div/main/div/div[1]/div/div"],
[data-dc-section="grp:accommodation/div/div/main/div/div[3]/div"] { background-color: var(--wp--preset--color--lagoon-mid); }
/* "Sužinoti daugiau →" link measures its full line (15px). */
[data-dc-section^="grp:experiences/"] .lbs-more a { display: inline-block; }
/* Experience booking facts: each row as tall as its value, label at the top (reference flex rows stretch). */
[data-dc-section="grp:experience-detail/div/div/main/div/div[1]/div"] .lbs-xd-book .is-content-justification-space-between { align-items: stretch !important; }

/* experience-detail: the category label ("Edukacijos") is an inline span in the reference, so its
   glyphs sit on a 24px line whose strut is the 16px body font - 2px higher above the title than
   this 16px block paragraph's. Shifted visually; the layout box and the title stay where they are. */
[data-dc-section="grp:experience-detail/div/div/main/div/div[0]"] .lbs-hero p.has-amber-color:has(+ h1) {
	position: relative;
	top: -2px;
}
/* experience-detail timeline: each numbered circle carries the reference's mt-0.5 (2px). */
[data-dc-section="grp:experience-detail/div/div/main/div/div[1]/div"] .is-layout-flex > .has-amber-border-color:first-child {
	margin-top: 2px;
}
/* ...and the connector line keeps the reference's top-8 start (32px below the row top, under the
   circle's lower 2px), so it stays 47px long rather than starting at the shifted circle's edge. */
[data-dc-section="grp:experience-detail/div/div/main/div/div[1]/div"] .is-layout-flex > .has-amber-border-color:first-child + .has-ivory-a-10-background-color {
	margin-top: -2px;
}

