﻿/* ==========================================================================
   GOT BAG replica - glue styles
   The heavy lifting is done by the vendored reference stylesheets. This file
   only contains (a) brand token mapping for the second-brand use case,
   (b) small fixes needed because the markup is rendered by WordPress instead
   of Liquid, and (c) styles for the few components WordPress/WooCommerce
   brings along that the reference does not have.
   ========================================================================== */

/* (a) brand tokens ------------------------------------------------------- */
:root {
  --gb-brand-primary: #0032a0;
}

/* The vendored CSS reads --text-font-family / --heading-font-family from the
   reference :root block (tokens.css). Keep a sane fallback if a second brand
   ships without the original typeface. */
body {
  --text-font-family-fallback: "Soehne", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* (b) WordPress / WooCommerce normalisation ------------------------------ */

/* The reference hides the native scrollbar gutter behaviour for its fixed
   header; the admin bar must not push the fixed navbar down. */
.admin-bar announcement-bar-v2 {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar announcement-bar-v2 {
    top: 46px;
  }
}

/* WooCommerce notices rendered with the reference styling */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  list-style: none;
  padding: 16px 20px;
  margin: 0 0 20px;
  border: 1px solid var(--border-color, #dfdfdf);
  font-size: 14px;
}

.woocommerce-message {
  border-color: #2e9e7b;
}

.woocommerce-error {
  border-color: #de2a2a;
  color: #de2a2a;
}

/* Price markup comes from WooCommerce; keep the reference's numeric look */
price-component .woocommerce-Price-amount,
.price .woocommerce-Price-amount {
  font: inherit;
  color: inherit;
  white-space: nowrap;
}

price-component del,
.price del {
  opacity: 0.5;
  margin-right: 0.35em;
  text-decoration: line-through;
}

price-component ins,
.price ins {
  text-decoration: none;
}

/* Screen-reader helper used by WordPress */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* (c) replica components ------------------------------------------------- */

/* The reference reveals sections with <animation-reveal> driven by its own JS
   (IntersectionObserver). Without that runtime the elements keep the initial
   opacity:0, so the replica renders them in their final state. */
animation-reveal,
.animation-reveal,
.shopify-section--animate animation-reveal {
  display: block;
  opacity: 1 !important;
  transform: none !important;
}

/* Product cards use the same JS-driven fade; render them in their final state. */
product-card-component,
product-card-component .content,
.image-overlay__content,
.image-overlay__image {
  opacity: 1 !important;
  transform: none !important;
}

/* product grid rows rendered by WooCommerce/our archive template */
.product-grid .animation-reveal,
.product-grid > animation-reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* keep the reference aspect ratio for card artwork even if a product only has
   one image */
product-card-component .image img {
  width: 100%;
}

/* the slider wrapper is inert without Swiper: lay the first slide out normally */
product-card-component .image product-card-slider,
product-card-component .image product-card-slider .swiper,
product-card-component .image product-card-slider .swiper-wrapper {
  display: block;
  position: static;
}

product-card-component .image product-card-slider img {
  opacity: 1;
  position: static;
}

/* ported cards can carry several slides (reference swaps them with Swiper);
   without the library only the first one may take part in the layout */
product-card-component .image product-card-slider .swiper-slide {
  display: none;
}

product-card-component .image product-card-slider .swiper-slide:first-child {
  display: block;
}

/* colour swatches (reference uses background images / flat colours) */
.swatch-component,
swatch-component {
  align-items: center;
  display: flex;
  gap: 0.35rem;
  min-height: 1.25rem;
}

.swatch {
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  display: inline-block;
  height: 1.15rem;
  width: 1.15rem;
}

swatch-component > span:last-child:not(.swatch) {
  font-size: 0.75rem;
  color: var(--gray5, #495057);
}

/* PDP gallery fallback when WooCommerce returns fewer images than Shopify */
.gb-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* quantity stepper used on cart / PDP */
.gb-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color, #dfdfdf);
  height: var(--button-small-height, 44px);
}

.gb-qty button {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  height: 100%;
  width: 36px;
}

.gb-qty input {
  border: 0;
  text-align: center;
  width: 44px;
  -moz-appearance: textfield;
}

.gb-qty input::-webkit-outer-spin-button,
.gb-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* cookie consent card (reproduction of the runtime consent manager card) */
.gb-cookie {
  position: fixed;
  right: 44px;
  bottom: 44px;
  z-index: 90;
  width: 432px;
  max-width: calc(100vw - 32px);
  background: #fff;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.18);
  font-family: var(--text-font-family, sans-serif);
  color: #212429;
}

.gb-cookie__inner {
  padding: 22px 24px 20px;
}

.gb-cookie__title {
  font-weight: 600;
  font-size: 19px;
  line-height: 1.25;
  color: #0032a0;
  margin: 0 0 6px;
}

.gb-cookie__links {
  font-size: 13px;
  margin: 0 0 12px;
}

.gb-cookie__links a {
  color: #212429;
  text-decoration: underline;
}

.gb-cookie__links span {
  margin: 0 6px;
  color: #9a9a9a;
}

.gb-cookie__text {
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0 0 18px;
}

.gb-cookie__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.gb-cookie__button {
  align-items: center;
  border-radius: 3px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  height: 40px;
  justify-content: center;
  padding: 0 18px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.gb-cookie__button--filled {
  background: #0032a0;
  border: 1px solid #0032a0;
  color: #fff;
}

.gb-cookie__button--filled:hover {
  background: #002a86;
}

.gb-cookie__button--ghost {
  background: #fff;
  border: 1px solid #0032a0;
  color: #0032a0;
}

.gb-cookie__button--ghost:hover {
  background: #f2f5ff;
}

.gb-cookie.is-hidden {
  display: none;
}

@media screen and (max-width: 640px) {
  .gb-cookie {
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: auto;
  }
  .gb-cookie__actions {
    justify-content: stretch;
  }
  .gb-cookie__button {
    flex: 1 1 45%;
  }
}

/* legacy Shopify fallback bar (kept for reference parity, hidden by default) */
#shopify-section-sections--26496440697097__privacy-banner {
  display: none;
}

/* ---------------------------------------------------------------- blog list */
.gb-blog-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gb-blog-card__image {
  background: var(--gray1, #f8f9fa);
  display: block;
  overflow: hidden;
}

.gb-blog-card__image img {
  aspect-ratio: 4/5;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
  width: 100%;
}

.gb-blog-card:hover .gb-blog-card__image img {
  transform: scale(1.03);
}

.gb-blog-card__content h2 {
  margin: 0.25rem 0 0.35rem;
}

.gb-blog-card__content p {
  margin: 0 0 0.5rem;
}

/* -------------------------------------------------------------- search form */
.gb-search-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  max-width: 34rem;
}

.gb-search-form input[type="search"] {
  border: 1px solid var(--border-color, #dfdfdf);
  flex: 1;
  font: inherit;
  height: 52px;
  padding: 0 1rem;
}

/* ------------------------------------------------------------- PDP / buttons */
add-to-cart {
  align-items: center;
  background-color: var(--primary-button-background, #0032a0);
  border: 0;
  color: rgb(var(--primary-button-text-color, 255, 255, 255));
  cursor: pointer;
  display: flex;
  font-weight: 800;
  height: 52px;
  justify-content: center;
  margin-top: 1rem;
  text-transform: uppercase;
  transition: background-color 0.2s ease, opacity 0.2s ease;
  width: 100%;
}

add-to-cart:hover {
  background-color: #002a86;
}

add-to-cart.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

add-to-cart.is-sold-out {
  background-color: var(--gray4, #acb5bd);
  pointer-events: none;
}

add-to-cart .atc-price {
  margin-left: 0.25rem;
}

/* product gallery flow: reference stacks two columns on desktop */
product-page-images {
  min-width: 0;
}

/* The vendored rule uses 60% + 40% + 75px gap, which overflows the viewport and
   pushes the price column off-screen. Constrain the tracks instead. */
@media (min-width: 960px) {
  product-page-component .wrapper {
    grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
    gap: 3.75rem;
    width: 100%;
    overflow: hidden;
  }

  product-page-info {
    margin-right: calc(3.75rem + var(--container-outer-margin, 40px));
    max-width: 100%;
  }
}

@media (min-width: 960px) {
  product-page-images .swiper-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
}

product-page-images .swiper-slide {
  background: var(--gray1, #f8f9fa);
}

/* swatch selection ring */
swatch-item {
  background-position: center;
  background-size: cover;
}

swatch-item.active {
  border-color: var(--black-color, #000);
}

swatch-item.active:after {
  transform: scale(1);
}

/* FAQ accordion content */
.faq__item .collapsible-toggle {
  align-items: center;
  background: none;
  border: 0;
  border-top: 1px solid var(--gray3, #dde2e5);
  cursor: pointer;
  display: flex;
  font: inherit;
  justify-content: space-between;
  padding: 1rem 0;
  text-align: left;
  width: 100%;
}

.faq__item .collapsible-toggle:after {
  content: "+";
  font-size: 1.25rem;
  line-height: 1;
}

.faq__item.is-open .collapsible-toggle:after {
  content: "–";
}

.faq__item collapsible-content {
  display: none;
  padding-bottom: 1rem;
}

.faq__item collapsible-content[open] {
  display: block;
}

.faq__item.is-open .collapsible-toggle {
  border-bottom: 0;
}

/* Header turns solid once the hero has scrolled away. The reference does the
   same: the nav is transparent only while it overlaps the full-bleed hero. */
navbar-component.transparent.is-solid,
navbar-component.transparent_mobile.is-solid,
navbar-component.is-solid {
  background-color: var(--white-color, #fff) !important;
  --text: var(--black-color);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

/* ---------------------------------------------------- static slider layouts */
/* The reference drives every slider with Swiper JS (slides per view, spacing,
   navigation). Without that runtime each Swiper wrapper falls back to 100%-wide
   slides, so sections either show a single oversized slide or stack. These rules
   give the same visual rhythm with plain flexbox. */
.shopify-section--blog-posts .swiper-wrapper,
.shopify-section--content-slider .swiper-wrapper,
.content-slider .swiper-wrapper {
  display: flex;
  gap: 0.75rem;
}

.shopify-section--blog-posts .swiper-slide,
.shopify-section--content-slider .swiper-slide,
.content-slider .swiper-slide {
  flex: 0 0 calc((100% - 1.5rem) / 3);
  width: calc((100% - 1.5rem) / 3);
}

@media (max-width: 960px) {
  .shopify-section--blog-posts .swiper-slide,
  .shopify-section--content-slider .swiper-slide,
  .content-slider .swiper-slide {
    flex-basis: 72%;
    width: 72%;
  }
}

.shopify-section--blog-posts .content-slider__media img,
.content-slider .content-slider__media img,
.content-slider__media img {
  aspect-ratio: 1 / 1;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

/* image slider: one full-bleed slide, no stacking of the remaining ones */
.shopify-section--image-slider .swiper,
image-slider.swiper {
  height: 34rem;
  overflow: hidden;
  position: relative;
}

.shopify-section--image-slider .swiper-wrapper,
image-slider .swiper-wrapper {
  display: block;
  height: 100%;
}

.shopify-section--image-slider .swiper-slide,
image-slider .swiper-slide {
  display: none;
  inset: 0;
  position: absolute;
}

.shopify-section--image-slider .swiper-slide:first-child,
image-slider .swiper-slide:first-child {
  display: block;
}

.shopify-section--image-slider .swiper-slide img,
image-slider .swiper-slide img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* reviews slider is empty without the Reviews.io feed: keep the heading only */
.shopify-section--product-reviews-slider .swiper:empty {
  display: none;
}

/* ------------------------------------------------- tiles (mobile) */
/* The reference keeps two tiles side by side on phones with a 2:3 ratio; the
   vendored rule fell back to one full-width tile and a 16:9 frame. */
@media (max-width: 960px) {
  tiles-section {
    grid-auto-flow: row !important;
    grid-template-columns: repeat(var(--tiles-columns-mobile, 2), 1fr) !important;
  }

  tiles-section tile-component {
    aspect-ratio: var(--tile-ratio-mobile, 2 / 3) !important;
  }

  tiles-section tile-component .content {
    bottom: 1rem;
    left: 1rem;
  }

  tiles-section tile-component .content .heading {
    font-size: 1rem;
  }
}

/* ------------------------------------------------- homepage layout variant */
/* The reference ships two homepage variants and switches them with an inline
 * rule inside its custom-HTML section ("A einblenden / B ausblenden").
 * Our crawl captured the A variant; the storefront serves variant B to
 * visitors, so the A-only sections are hidden here and the B sections stay
 * visible - which is exactly what the live site renders:
 *   after the Bestseller grid: tiles ("Alle Taschen / Alle Rücksäcke")
 *   -> Jason Momoa tile -> "WAS WIR BEITRAGEN" -> impact slider -> GOT STORIES
 */
.shopify-section[id$="__text_flexible_FjJwip"],                                   /* headline A */
.shopify-section[id$="__header_banner_NMN7Lk"],                                   /* ruffle banner A */
.shopify-section[id$="__image_slider_rrMWmc"],                                    /* categories slider A */
.shopify-section[id$="__92905220-a0dc-4fd6-84ac-978450014073"],                   /* plastic tracker A */
.shopify-section[id$="__663d9d17-8e59-4865-83af-3c4cd8e245a9"],                   /* logos list A */
.shopify-section[id$="__image_with_text_overlay_LxECqK"],                          /* jason momoa A */
.shopify-section[id$="__text_flexible_HE9Cqa"],                                   /* stories headline A */
.shopify-section[id$="__d75d5f16-0c71-4b33-ac3f-73bb3bf12f4a"],                   /* reviews headline A */
.shopify-section[id$="__product_reviews_slider_kD7nnE"] {                          /* reviews slider A */
  display: none !important;
}

/* quick add pill: the reference shows "+ WARENKORB" on every breakpoint; the
   vendored rules only style `.product-item quick-atc`, so cards rendered by the
   theme fell back to a bare icon button. */
product-card-component quick-atc button {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 2px;
  bottom: 0.75rem;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.14);
  color: var(--black-color, #000);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.6875rem;
  font-weight: 800;
  gap: 0.4rem;
  letter-spacing: 0.04em;
  padding: 0.55rem 0.9rem;
  position: absolute;
  right: 0.75rem;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 6;
}

product-card-component quick-atc button span {
  display: inline !important;
}

product-card-component quick-atc button svg {
  height: 10px;
  width: 10px;
}

/* service notes on the product page: the reference draws small icons inside the
   grey circles (truck / shield / card); we render the same three glyphs. */
product-page-info .info .circle {
  align-items: center;
  display: flex;
  justify-content: center;
}

product-page-info .info .circle:before {
  background: center / 18px 18px no-repeat;
  content: "";
  display: block;
  height: 18px;
  opacity: 0.9;
  width: 18px;
}

product-page-info .info:nth-of-type(1) .circle:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23212429' stroke-width='2'%3E%3Cpath d='M1 3h13v13H1z'/%3E%3Cpath d='M14 8h4l3 3v5h-7z'/%3E%3Ccircle cx='6' cy='19' r='2'/%3E%3Ccircle cx='18' cy='19' r='2'/%3E%3C/svg%3E");
}

product-page-info .info:nth-of-type(2) .circle:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23212429' stroke-width='2'%3E%3Cpath d='M12 2l8 4v6c0 5-3.5 8.5-8 10-4.5-1.5-8-5-8-10V6z'/%3E%3C/svg%3E");
}

product-page-info .info:nth-of-type(3) .circle:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23212429' stroke-width='2'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E");
}

/* product gallery: keep every shot at its native ratio (studio shots are square,
   lifestyle shots 3:4) - the reference does not crop them into a 3:4 frame */
product-page-images .swiper-slide img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  width: 100%;
}

@media (min-width: 960px) {
  product-page-images .swiper-wrapper {
    align-items: start;
    gap: 0.5rem;
  }
}

/* product gallery video slide (reference shows a play button on the 5th tile) */
product-page-images .gb-video-slide {
  background: #000;
  position: relative;
}

/* one uniform square grid: mixed aspect ratios made rows stretch and some shots
   render zoomed (cover) next to contained ones with big white gaps */
product-page-images .swiper-slide,
product-page-images .gb-video-slide {
  aspect-ratio: 3 / 4;
  background: var(--gray1, #f8f9fa);
  height: auto;
  overflow: hidden;
  position: relative;
}

/* fill the square regardless of the media's intrinsic size, so rows never grow */
product-page-images .swiper-slide img,
product-page-images .gb-video-slide video {
  aspect-ratio: auto;
  display: block;
  height: 100%;
  inset: 0;
  object-fit: contain;
  position: absolute;
  width: 100%;
}

product-page-images .gb-video-slide video {
  object-fit: cover;
}

/* the reference keeps the native player controls visible under the clip */
product-page-images .gb-video-slide .gb-video-toggle {
  display: none;
}

/* keep every gallery cell at the same optical size as the reference tiles */
product-page-images .swiper-slide,
product-page-images .gb-video-slide {
  background: var(--gray1, #f8f9fa);
  max-height: none;
}

product-page-images .swiper-slide img {
  max-height: 100%;
  object-position: center;
}

.gb-video-toggle {
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  height: 64px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  z-index: 3;
}

.gb-video-toggle:before {
  border-color: transparent transparent transparent #111;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  content: "";
  display: block;
  margin-left: 22px;
}

.gb-video-slide.is-playing .gb-video-toggle {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gb-video-slide:hover.is-playing .gb-video-toggle {
  opacity: 1;
}

.gb-video-slide.is-playing .gb-video-toggle:before,
.gb-video-slide.is-playing .gb-video-toggle:after {
  background: #111;
  border: 0;
  content: "";
  display: block;
  height: 16px;
  margin: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
}

.gb-video-slide.is-playing .gb-video-toggle:before {
  left: 24px;
}

.gb-video-slide.is-playing .gb-video-toggle:after {
  left: 35px;
}

/* aggregate rating row under the product title (reference: ★★★★☆ 4.7 (151)) */
.gb-rating {
  align-items: center;
  color: #0e1311;
  display: flex;
  font-size: 0.8125rem;
  gap: 0.35rem;
  line-height: 1.2;
  margin-top: 0.3rem;
}

.gb-rating__stars {
  color: #d8d8d8;
  display: inline-block;
  font-size: 0.875rem;
  letter-spacing: 0;
  position: relative;
}

.gb-rating__stars:before {
  content: "\2605\2605\2605\2605\2605";
}

.gb-rating__stars:after {
  color: #0e1311;
  content: "\2605\2605\2605\2605\2605";
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  white-space: nowrap;
  width: var(--gb-rating, 0%);
}

/* ---------------------------------------------------------- mega menu panel */
/* The vendored stylesheet declares white text on the panel but never paints a
   surface, which left the menu unreadable on top of the hero photo. The theme's
   own mobile menu and its `navbar-component[open]` state are white with dark
   text, so the desktop panel follows the same treatment. */
subnav-desktop-component {
  --text: var(--black-color);
  background: var(--white-color, #fff);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  color: var(--black-color);
}

subnav-desktop-component .heading,
subnav-desktop-component ul li a {
  color: var(--black-color);
}

subnav-desktop-component .tag {
  color: var(--primary-color, #0032a0);
}

subnav-desktop-component .grid {
  padding-inline: var(--container-outer-margin, var(--container-gutter, 40px));
  padding-right: var(--container-gutter, 40px);
}

subnav-desktop-component tile-component img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

subnav-desktop-component tile-component veil-component {
  display: block;
  inset: 0;
  position: absolute;
  z-index: 1;
}

subnav-desktop-component tile-component .content {
  bottom: 1.25rem;
  left: 1.5rem;
  position: absolute;
  z-index: 2;
}

/* the promo tile keeps white type over its image */
subnav-desktop-component tile-component .content,
subnav-desktop-component tile-component .content .heading,
subnav-desktop-component tile-component p {
  color: #fff;
}

/* ---------------------------------------------------------- collection hero */
/* The reference ships the image-with-text-overlay rules inside the section's
   inline <style>; collections rendered by WordPress need them globally. */
.image-overlay {
  display: block;
  height: 16.5rem; /* reference: ~265px */
  min-height: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.image-overlay--medium {
  height: 16.5rem !important;
}

.image-overlay__image-wrapper {
  inset: 0;
  position: absolute;
}

.image-overlay__image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
}

/* the reference darkens hero imagery with a veil so the white overlay text
   stays legible on bright photos */
.image-overlay:before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.12) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.image-overlay .container {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  position: relative;
  width: 100%;
  z-index: 2;
}

.image-overlay .breadcrumb {
  left: 0;
  margin: 0;
  position: absolute;
  right: 0;
  top: 0.75rem;
  z-index: 3;
}

.image-overlay__content-wrapper {
  align-items: center;
  display: flex;
  justify-content: center;
  width: 100%;
}

.image-overlay__content {
  color: #fff;
  text-align: center;
}

.image-overlay__content .main-heading {
  color: #fff !important;
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  margin: 0;
  text-transform: uppercase;
}

.image-overlay .breadcrumb__link,
.image-overlay .breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

/* collection heading + sort row */
collection-bubbles-component .text h1,
collection-bubbles-component .h2,
collection-bubbles-component h1 {
  display: block !important;
  font-size: 2rem;
  margin: 1.25rem 0 0.35rem;
  opacity: 1 !important;
}

.collection .breadcrumb {
  padding: 0.75rem 0;
}

/* collection heading + sort row */
collection-bubbles-component .text h1,
collection-bubbles-component .h2 {
  font-size: 2rem;
  margin: 1.25rem 0 0.35rem;
}

collection-sort-component dropdown-component .selected {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.8125rem;
  gap: 0.35rem;
  position: relative;
}

collection-sort-component .dropdown {
  background: #fff;
  border: 1px solid var(--border-color, #dfdfdf);
  display: none;
  left: 0;
  min-width: 12rem;
  padding: 0.5rem 0;
  position: absolute;
  top: 100%;
  z-index: 20;
}

collection-sort-component dropdown-component:hover .dropdown,
collection-sort-component dropdown-component:focus-within .dropdown {
  display: block;
}

collection-sort-component .dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

collection-sort-component .dropdown li a {
  display: block;
  font-size: 0.8125rem;
  padding: 0.4rem 1rem;
}

collection-sort-component .dropdown li.active a,
collection-sort-component .dropdown li a:hover {
  background: var(--gray1, #f8f9fa);
}

/* keep WooCommerce shortcode wrappers from breaking the reference rhythm */
.woocommerce-page #main {
  margin-bottom: 4rem;
}


/* content pages (AGB, Datenschutz …) use an image-with-text-overlay header; the
   text sat on top of the dark photo and was unreadable. Stack it instead:
   image first, text below on white. */
.shopify-section--image-with-text-overlay .image-overlay__image-wrapper {
  height: auto;
  padding-bottom: 0 !important;
  position: relative;
}

.shopify-section--image-with-text-overlay .image-overlay__image {
  display: block;
  height: auto;
  max-height: 46vh;
  object-fit: cover;
  position: static;
  width: 100%;
}

.shopify-section--image-with-text-overlay .image-overlay__content-wrapper {
  color: #111;
  padding: 40px 0 8px;
  position: static;
}

.shopify-section--image-with-text-overlay .image-overlay__content,
.shopify-section--image-with-text-overlay .image-overlay__content * {
  color: #111;
}

/* html-blocks content pages: the body text ran edge to edge (x=0); give it the
   same gutters as the rest of the site */
.shopify-section--html-blocks .html-blocks > .text-container {
  margin-left: auto;
  margin-right: auto;
  max-width: min(100% - 2 * 40px, 760px);
  padding-left: 0;
  padding-right: 0;
  text-align: left;
}

@media (max-width: 740px) {
  .shopify-section--html-blocks .html-blocks > .text-container {
    max-width: calc(100% - 48px);
  }
}

/* legal pages: body copy in a rich-text block ran full width; centre it like the
   other content sections so the text column matches the reference */
body.page .shopify-section--rich-text .container {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

body.page .shopify-section--rich-text .content-box {
  max-width: 100%;
}

/* support page cards (tile-grid sections) */
.shopify-section--tile-grid .tile-grid {
  padding-left: var(--container-gutter, 40px);
  padding-right: var(--container-gutter, 40px);
}

.shopify-section--tile-grid .tile-grid .container {
  display: grid;
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
}

.shopify-section--tile-grid .tile-grid__item {
  align-items: center;
  background: #f4f4f5;
  color: #111;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 200px;
  padding: 40px 24px;
  text-align: center;
  text-decoration: none;
}

.shopify-section--tile-grid .tile-grid__item svg {
  height: 22px;
  margin-bottom: 14px;
  width: 22px;
}

.shopify-section--tile-grid .tile-grid__item-inner h2 {
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 6px;
}

.shopify-section--tile-grid .tile-grid__item-inner p {
  margin: 0;
}

.shopify-section--tile-grid .tile-grid__info {
  color: #2f8f3f;
  margin-top: 18px;
}

/* support page: the reference emits classes glued together
   ("tile-gridsection--flush"), so target the classes that really exist */
.shopify-section--tile-grid .tile-grid__item-container,
.shopify-section--tile-grid multi-column {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin: 0 auto;
  max-width: 1200px;
}

.shopify-section--tile-grid .multi-column__item,
.shopify-section--tile-grid .tile-grid__item {
  align-items: center;
  background: #f4f4f5;
  color: #111;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 190px;
  padding: 36px 24px;
  text-align: center;
  text-decoration: none;
}

.shopify-section--tile-grid svg {
  height: 22px;
  margin-bottom: 12px;
  width: 22px;
}

.shopify-section--tile-grid h2 {
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 6px;
}

.shopify-section--tile-grid p {
  margin: 0;
}

.shopify-section--tile-grid .tile-grid__info {
  color: #2f8f3f;
  margin-top: 14px;
}

/* one full-width card per support section (reference stacks them) */
.shopify-section--tile-grid .tile-grid__item-container,
.shopify-section--tile-grid multi-column {
  display: block;
}

.shopify-section--tile-grid .multi-column__item,
.shopify-section--tile-grid .tile-grid__item {
  margin: 0 0 18px;
  width: 100%;
}

/* support page (page-support.php) */
.gb-support__hero img {
  display: block;
  height: auto;
  max-height: 60vh;
  object-fit: cover;
  width: 100%;
}

.gb-support__inner {
  margin: 0 auto;
  max-width: 1200px;
  padding: 56px 40px 80px;
}

.gb-support__title {
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: 0.02em;
  margin: 0 0 40px;
  text-align: center;
  text-transform: uppercase;
}

.gb-support__cards {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gb-support__card {
  align-items: center;
  background: #f4f4f5;
  color: #111;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  min-height: 190px;
  padding: 36px 24px;
  text-align: center;
  text-decoration: none;
}

.gb-support__card svg {
  color: #676766;
  height: 22px;
  margin-bottom: 6px;
  width: 22px;
}

.gb-support__card-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.gb-support__card-text {
  max-width: 520px;
}

.gb-support__card-info {
  color: #2f8f3f;
  margin-top: 12px;
}

/* collection filter bar */
.gb-filters { margin: 0 0 18px; }
.gb-filters__group > summary { cursor: pointer; font-weight: 700; letter-spacing: .04em; list-style: none; padding: 10px 0; text-transform: uppercase; }
.gb-filters__group > summary::-webkit-details-marker { display: none; }
.gb-filters__panel { background: #f7f7f8; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: 20px; }
.gb-filters__panel legend { font-size: 12px; letter-spacing: .08em; margin-bottom: 10px; text-transform: uppercase; }
.gb-filters__panel fieldset { border: 0; margin: 0; padding: 0; }
.gb-filters__swatches, .gb-filters__sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.gb-filters__swatches label, .gb-filters__sizes label { align-items: center; cursor: pointer; display: inline-flex; font-size: 12px; gap: 6px; }
.gb-filters__swatches input, .gb-filters__sizes input { accent-color: #0e1311; }
.gb-filters__price { align-items: center; display: flex; gap: 8px; }
.gb-filters__price input { border: 1px solid #d8d8d8; padding: 6px 8px; width: 90px; }
.gb-filters__actions { align-items: center; display: flex; gap: 16px; grid-column: 1 / -1; }
.gb-filters__actions .gb-button { background: #0e1311; border: 0; color: #fff; cursor: pointer; padding: 12px 22px; }
.gb-filters__reset { color: #0e1311; text-decoration: underline; }

/* the filter form sits inside the flex toolbar: let it span the row */
collection-component > .container.flex.row { flex-wrap: wrap; }
.gb-filters { flex: 1 1 100%; order: 3; width: 100%; }
.gb-filters__panel { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* checkout: the default WooCommerce form is unstyled next to the reference */
.woocommerce-checkout form.checkout {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  margin: 0 auto;
  max-width: 1200px;
  padding: 40px;
}
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup,
.woocommerce-checkout form.checkout > #customer_details { grid-column: 1; }
.woocommerce-checkout form.checkout > #order_review_heading,
.woocommerce-checkout form.checkout > #order_review { grid-column: 2; }
.woocommerce-checkout form.checkout > #order_review { background: #f7f7f8; padding: 24px; }
.woocommerce-checkout form.checkout .form-row { margin-bottom: 14px; }
.woocommerce-checkout form.checkout label { display: block; font-size: 12px; letter-spacing: .04em; margin-bottom: 6px; text-transform: uppercase; }
.woocommerce-checkout form.checkout .input-text,
.woocommerce-checkout form.checkout select,
.woocommerce-checkout form.checkout textarea {
  border: 1px solid #cfcfcf;
  border-radius: 0;
  box-sizing: border-box;
  font-size: 15px;
  padding: 12px 14px;
  width: 100%;
}
.woocommerce-checkout form.checkout .form-row-first,
.woocommerce-checkout form.checkout .form-row-last { float: none; width: 100%; }
.woocommerce-checkout h3 { font-size: 15px; letter-spacing: .06em; margin: 0 0 16px; text-transform: uppercase; }
.woocommerce-checkout #place_order { background: #0e1311; border: 0; color: #fff; font-weight: 700; letter-spacing: .06em; padding: 16px; text-transform: uppercase; width: 100%; }
@media (max-width: 900px) {
  .woocommerce-checkout form.checkout { grid-template-columns: 1fr; padding: 24px; }
  .woocommerce-checkout form.checkout > #order_review_heading,
  .woocommerce-checkout form.checkout > #order_review { grid-column: 1; }
}

/* custom checkout layout (woocommerce/checkout/form-checkout.php) */
.gb-checkout { display: grid; gap: 40px; grid-template-columns: minmax(0,1fr) 420px; margin: 0 auto; max-width: 1240px; padding: 40px; }
.gb-checkout__block { margin-bottom: 32px; }
.gb-checkout__aside { align-self: start; background: #f7f7f8; padding: 24px; position: sticky; top: 120px; }
.gb-checkout__title { font-size: 15px; letter-spacing: .06em; margin: 0 0 16px; text-transform: uppercase; }
.gb-checkout__note { color: #555; font-size: 12px; margin: 16px 0 0; }
@media (max-width: 900px) { .gb-checkout { grid-template-columns: 1fr; padding: 24px; } .gb-checkout__aside { position: static; } }

/* checkout: only stack normal field labels; checkbox labels stay inline and
   must not inherit the uppercase/block treatment (they overlapped the next
   section heading) */
.gb-checkout label.checkbox,
.gb-checkout .woocommerce-form__label-for-checkbox,
.gb-checkout label[for="ship-to-different-address-checkbox"] {
  display: inline;
  font-size: 14px;
  letter-spacing: 0;
  margin: 0;
  text-transform: none;
}
.gb-checkout #ship-to-different-address { margin: 0 0 16px; }
.gb-checkout #ship-to-different-address label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; text-transform: none; }
.gb-checkout .woocommerce-additional-fields h3 { clear: both; margin-top: 8px; }
.gb-checkout .form-row,
.gb-checkout .woocommerce-additional-fields { clear: both; }

/* ship-to-different checkbox: WooCommerce floats this block, which made the
   label wrap into a narrow column and overlap the next heading */
.gb-checkout #ship-to-different-address {
  clear: both;
  display: flex !important;
  float: none !important;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px !important;
  width: 100% !important;
}
.gb-checkout #ship-to-different-address label {
  display: inline !important;
  float: none !important;
  font-size: 14px !important;
  line-height: 1.4;
  margin: 0 !important;
  text-transform: none !important;
  white-space: normal;
  width: auto !important;
}
.gb-checkout #ship-to-different-address input { float: none !important; margin: 0 !important; }
.gb-checkout .woocommerce-additional-fields { clear: both; margin-top: 32px !important; }

/* coupon hint line: centred above the checkout form */
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-info {
  text-align: center;
  margin: 0 auto 24px;
  max-width: 1240px;
  padding-left: 40px;
  padding-right: 40px;
}
/* let the two column grid use the full width */
.woocommerce-checkout .woocommerce { max-width: none; }

/* cart drawer footer: subtotal row + full width primary button + centred link */
.slide-out-cart .drawer__footer { border-top: 1px solid #e5e5e5; padding: 20px 24px 24px; }
.slide-out-cart .drawer__footer .totals { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.slide-out-cart .drawer__footer .totals strong { font-size: 15px; }
.slide-out-cart .drawer__footer .text--subdued { font-size: 12px; margin-bottom: 16px; display: block; }
.slide-out-cart .drawer__footer .button--primary,
.slide-out-cart .drawer__footer a.button {
  background: #0e1311; border: 0; color: #fff; display: block; font-weight: 700; letter-spacing: .06em;
  margin: 0 0 14px; padding: 16px; text-align: center; text-decoration: none; text-transform: uppercase; width: 100%;
}
.slide-out-cart .drawer__footer a:not(.button) { display: block; font-size: 13px; text-align: center; text-decoration: underline; }

/* transparent header over the hero: white logo, links and icons (they rendered
   dark on the photo and were unreadable) */
navbar-component.transparent,
navbar-component.transparent a,
navbar-component.transparent button,
navbar-component.transparent .nav-item,
navbar-component.transparent svg {
  color: #fff;
}
navbar-component.transparent .logo svg path,
navbar-component.transparent .logo svg * {
  fill: #fff;
  stroke: #fff;
}
navbar-component.transparent .logo img { filter: brightness(0) invert(1); }
navbar-component.transparent::after { background: transparent; }

/* the header also carries the `light` modifier, whose rules won the cascade */
navbar-component.transparent.light,
navbar-component.transparent.light a,
navbar-component.transparent.light button,
navbar-component.transparent.light svg { color: #fff !important; }
navbar-component.transparent.light .logo svg path,
navbar-component.transparent.light .logo svg * { fill: #fff !important; stroke: #fff !important; }

/* the grey band was the header element's own background */
navbar-component.transparent.light,
navbar-component.transparent.light .navbar__wrapper,
navbar-component.transparent.light .container,
navbar-component.transparent.light .flex { background: transparent !important; box-shadow: none !important; border: 0 !important; }
navbar-component.transparent.light { mix-blend-mode: normal; }

/* homepage: the header sits on top of the hero (reference behaviour) */
body.home .shopify-section-group-header-group {
  background: transparent !important;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 60;
}
body.home #main { margin-top: 0 !important; }
/* once scrolled the JS adds .is-solid: give it the white plate back */
navbar-component.transparent.is-solid,
navbar-component.transparent.is-solid .container,
navbar-component.transparent.is-solid .flex { background: #fff !important; }
navbar-component.transparent.is-solid, navbar-component.transparent.is-solid a,
navbar-component.transparent.is-solid svg { color: #0e1311 !important; }
navbar-component.transparent.is-solid .logo svg path { fill: #0e1311 !important; stroke: #0e1311 !important; }

/* nav labels live in <a class="outer"><span class="inner"> — colour them explicitly */
navbar-component.transparent.light a.outer,
navbar-component.transparent.light a.outer .inner,
navbar-component.transparent.light a.outer.is-active,
navbar-component.transparent.light a.outer.is-active .inner,
navbar-component.transparent.light .logo svg { color:#fff !important; fill:#fff !important; -webkit-text-fill-color:#fff !important; }

/* keep the header visible while scrolling (absolute scrolled away) */
body.home .shopify-section-group-header-group {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 9999 !important;
}
body.home { padding-top: 0 !important; }

/* keep the hero flush to the top so the fixed white header sits on the image */
body.home #main,
body.home #main > .shopify-section:first-child { margin-top: 0 !important; padding-top: 0 !important; }
body.home .shopify-section-group-header-group { background: transparent !important; }

/* keep logo and links in sync in every header state */
navbar-component.transparent a.outer,
navbar-component.transparent a.outer .inner,
navbar-component.transparent[open] a.outer,
navbar-component.transparent[open] a.outer .inner,
navbar-component.transparent.is-solid a.outer.is-active .inner { color: inherit !important; -webkit-text-fill-color: currentColor !important; }
navbar-component.light a.outer .inner { color: inherit !important; }

/* header was invisible at the top of the homepage: revert to a normal, solid
   bar in the document flow (guaranteed readable) */
body.home .shopify-section-group-header-group {
  position: relative !important;
  top: auto !important;
  background: #fff !important;
  z-index: 50 !important;
}
body.home navbar-component,
body.home navbar-component a,
body.home navbar-component .inner,
body.home navbar-component svg { color: #0e1311 !important; -webkit-text-fill-color: #0e1311 !important; }
body.home navbar-component .logo svg path { fill: #0e1311 !important; stroke: #0e1311 !important; }
body.home #main { margin-top: 0 !important; }

/* homepage header: transparent overlay on the hero (no white bar) */
body.home .shopify-section-group-header-group {
  background: transparent !important;
  left: 0 !important;
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  width: 100% !important;
  z-index: 60 !important;
}
body.home #main,
body.home #main > .shopify-section:first-child { margin-top: 0 !important; padding-top: 0 !important; }
body.home navbar-component,
body.home navbar-component a,
body.home navbar-component a .inner,
body.home navbar-component svg { color: #fff !important; -webkit-text-fill-color: #fff !important; }
body.home navbar-component .logo svg path { fill: #fff !important; stroke: #fff !important; }

/* hero section carries a top padding for the transparent header — pull it up */
body.home #main > .shopify-section:first-child,
body.home #main > .shopify-section:first-child > section {
  margin-top: -96px !important;
  padding-top: 0 !important;
}

/* open dropdown: the whole header turns white with dark text (state A) */
body.home navbar-component[open],
body.home navbar-component[open] a,
body.home navbar-component[open] a .inner,
body.home navbar-component[open] svg { color:#0e1311 !important; -webkit-text-fill-color:#0e1311 !important; }
body.home navbar-component[open] .logo svg path { fill:#0e1311 !important; stroke:#0e1311 !important; }
body.home .shopify-section-group-header-group:has(navbar-component[open]) { background:#fff !important; }
body.home .shopify-section-group-header-group:has(navbar-component[open]) nav a.outer .inner { color:#0e1311 !important; }

/* keep the nav readable while the panel is open: white text on the dark hero,
   the panel itself stays white below the header */
body.home navbar-component[open] a.outer .inner,
body.home navbar-component[open] a.outer.is-active .inner,
body.home navbar-component[open] a.outer,
body.home navbar-component[open] a.outer span { color:#fff !important; -webkit-text-fill-color:#fff !important; }
body.home .shopify-section-group-header-group:has(navbar-component[open]) { background: transparent !important; }

/* header turns white while the mega menu is open (class added by JS) */
body.home .shopify-section-group-header-group.is-menu-open { background:#fff !important; }
body.home .is-menu-open navbar-component,
body.home .is-menu-open navbar-component a.outer,
body.home .is-menu-open navbar-component a.outer .inner,
body.home .is-menu-open navbar-component svg { color:#0e1311 !important; -webkit-text-fill-color:#0e1311 !important; }
body.home .is-menu-open navbar-component .logo svg path { fill:#0e1311 !important; stroke:#0e1311 !important; }

/* sticky, white once scrolled */
body.home .shopify-section-group-header-group { position: fixed !important; top: 0; left: 0; right: 0; z-index: 80 !important; }
body.home .shopify-section-group-header-group.is-scrolled { background: #fff !important; }
body.home .is-scrolled navbar-component a.outer .inner,
body.home .is-scrolled navbar-component a.outer,
body.home .is-scrolled navbar-component svg { color: #0e1311 !important; -webkit-text-fill-color: #0e1311 !important; }
body.home .is-scrolled navbar-component .logo svg path { fill: #0e1311 !important; stroke: #0e1311 !important; }

/* CSS-only fallback: paint the open header itself white (no JS needed) */
body.home navbar-component[open] {
  background: #fff !important;
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
body.home navbar-component[open] a.outer,
body.home navbar-component[open] a.outer .inner,
body.home navbar-component[open] svg { color:#0e1311 !important; -webkit-text-fill-color:#0e1311 !important; }
body.home navbar-component[open] .logo svg path { fill:#0e1311 !important; stroke:#0e1311 !important; }

/* language switcher in the header */
.gb-langs { display:flex; gap:14px; position:absolute; right:40px; top:26px; z-index:20; }
.gb-langs a { color:inherit; font-size:12px; letter-spacing:.08em; text-decoration:none; opacity:.6; }
.gb-langs a.is-active, .gb-langs a:hover { opacity:1; text-decoration:underline; }

/* language switcher: fixed, above the header, always visible */
.gb-langs {
  background: rgba(0,0,0,.55);
  border-radius: 2px;
  display: flex;
  gap: 10px;
  padding: 3px 10px;
  position: fixed;
  right: 16px;
  top: 6px;
  z-index: 99999;
}
.gb-langs a { color: #fff !important; font-size: 11px; letter-spacing: .08em; opacity: .75; text-decoration: none; }
.gb-langs a.is-active, .gb-langs a:hover { opacity: 1; text-decoration: underline; }

/* nudge the nav row down a little and keep the language switch clear of the icons */
navbar-component .container > .flex,
navbar-component .container > .flex.desktop { padding-top: 10px; padding-bottom: 10px; }
.gb-langs { right: 150px; top: 8px; }

/* align the language switch with the cart icons row (not the admin bar) */
body.admin-bar .gb-langs { top: calc(32px + var(--announcement-bar-height, 26px) + 16px); }
.gb-langs { top: calc(var(--announcement-bar-height, 26px) + 16px); right: 132px; }

/* language switch as a nav item (no pill, inherits header colour) */
.gb-langs {
  background: none !important;
  display: flex;
  gap: 12px;
  margin-left: 22px;
  padding: 0 !important;
  position: static !important;
  right: auto !important;
  top: auto !important;
}
.gb-langs a {
  color: inherit !important;
  font-size: 13px;
  letter-spacing: .06em;
  opacity: .65;
  text-decoration: none;
  -webkit-text-fill-color: currentColor;
}
.gb-langs a.is-active { opacity: 1; text-decoration: underline; }
body.admin-bar .gb-langs { top: auto !important; }

/* push the language switch to the right end of the menu row */
navbar-component nav .gb-langs { margin-left: auto !important; margin-right: 18px; }

/* language switch: menu-like, but outside the custom element so clicks reach it */
.gb-langs {
  background: none !important;
  display: flex;
  gap: 12px;
  position: fixed !important;
  right: 132px;
  top: calc(var(--announcement-bar-height, 26px) + 20px);
  z-index: 9999;
}
.gb-langs a { color:#fff; font-size:13px; letter-spacing:.06em; opacity:.7; text-decoration:none; }
.gb-langs a.is-active { opacity:1; text-decoration:underline; }
body.home .shopify-section-group-header-group.is-scrolled ~ .gb-langs a,
body.home .is-menu-open ~ .gb-langs a { color:#0e1311; }

/* pin the language switch just left of the cart icon */
.gb-langs {
  background: none !important;
  display: flex !important;
  gap: 12px;
  left: auto !important;
  margin: 0 !important;
  position: fixed !important;
  right: 118px !important;
  top: 32px !important;
  z-index: 9999 !important;
}
.gb-langs a { color:#0e1311 !important; font-size:13px; letter-spacing:.06em; opacity:.7; text-decoration:none; }
.gb-langs a.is-active { opacity:1; text-decoration:underline; }
body.home .gb-langs a { color:#fff !important; }
body.home .shopify-section-group-header-group.is-scrolled ~ * .gb-langs a { color:#0e1311 !important; }

/* switcher follows the header icon colour and sits on the icons baseline */
.gb-langs { top: calc(var(--announcement-bar-height, 26px) + 22px) !important; right: 118px !important; }
.gb-langs a { color: inherit !important; -webkit-text-fill-color: currentColor !important; font-size: 13px !important; }

/* align the switcher with the icon baseline (was ~12px too low) */
.gb-langs { top: calc(var(--announcement-bar-height, 26px) + 10px) !important; }

/* checkout: single column (two columns left an empty half when the summary is short) */
.gb-checkout { display: block !important; max-width: 760px !important; margin: 0 auto !important; padding: 32px 24px !important; }
.gb-checkout__aside { margin-top: 32px; position: static !important; }
.gb-checkout .woocommerce-NoticeGroup, .gb-checkout .woocommerce-error { margin-bottom: 24px; }

/* two column checkout (woocommerce/checkout/form-checkout.php) */
.gb-co { display: grid; gap: 48px; grid-template-columns: minmax(0,1fr) 420px; margin: 0 auto; max-width: 1240px; padding: 40px; }
.gb-co__h { font-size: 15px; letter-spacing: .06em; margin: 0 0 18px; text-transform: uppercase; }
.gb-co__aside { align-self: start; background: #f5f5f6; padding: 24px; position: sticky; top: 110px; }
.gb-co__items { list-style: none; margin: 0 0 18px; padding: 0; }
.gb-co__items li { align-items: center; display: grid; gap: 12px; grid-template-columns: 56px 1fr auto auto; padding: 8px 0; }
.gb-co__thumb img { border-radius: 4px; display: block; height: 56px; object-fit: cover; width: 56px; }
.gb-co__name { font-size: 14px; }
.gb-co__qty, .gb-co__price { font-size: 13px; white-space: nowrap; }
.gb-co__coupon { margin-bottom: 16px; }
.gb-co .form-row-first, .gb-co .form-row-last { float: none; width: 100%; }
.gb-co #place_order { background: #0e1311; border: 0; color: #fff; font-weight: 700; padding: 16px; text-transform: uppercase; width: 100%; }
@media (max-width: 900px) { .gb-co { grid-template-columns: 1fr; padding: 24px; } .gb-co__aside { position: static; } }

/* the new .gb-co form needs the same label rules the old class had */
.gb-co label { display:block; font-size:12px; letter-spacing:.04em; margin-bottom:6px; text-transform:uppercase; }
.gb-co label.checkbox, .gb-co .woocommerce-form__label-for-checkbox,
.gb-co #ship-to-different-address label {
  display:inline !important; float:none !important; width:auto !important;
  font-size:14px !important; letter-spacing:0 !important; margin:0 !important; text-transform:none !important;
}
.gb-co #ship-to-different-address {
  align-items:center; clear:both; display:flex !important; float:none !important;
  gap:8px; margin:0 0 24px !important; width:100% !important;
}
.gb-co #ship-to-different-address input { float:none !important; margin:0 !important; }
.gb-co .woocommerce-additional-fields { clear:both; margin-top:24px !important; }

/* page content images must never exceed the text column */
body.page .rte img, body.page .html-blocks img, body.page .rich-text img, body.page .text-container img { max-width:100% !important; height:auto !important; display:block; margin:0 auto 24px; }

/* page content images must never exceed the text column */
body.page .rte img,
body.page .html-blocks img,
body.page .rich-text img,
body.page .text-container img { display:block; height:auto !important; margin:0 auto 24px; max-width:100% !important; }
