.gp-product-page {
  padding: 32px 0;
  color: var(--gp-text-color, var(--gp-primary-dark));
}
.gp-product-embed {
  padding: 0;
  margin: 24px 0;
}
.gp-product-embed .gp-container {
  max-width: none;
  padding: 0;
}
.gp-product-view {
  display: block;
  min-width: 0;
  max-width: 100%;
  border:0;
}
.site-content > .gp-product-view,
#content > .gp-product-view,
.content-area > .gp-product-view,
.site-main > .gp-product-view {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  align-self: stretch;
}
.gp-product-page a {
  color: var(--gp-link-color, var(--gp-primary));
}
.gp-product-page a:not(.gp-btn):not(.gp-ingredients-report-btn):hover {
  color: var(--gp-link-hover-color, var(--gp-link-color, var(--gp-primary)));
  opacity: 0.85;
}
.gp-product-page h1,
.gp-product-page h2,
.gp-product-page h3,
.gp-product-page h4,
.gp-product-page h5,
.gp-product-page h6,
.gp-title,
.gp-section-title {
  color: var(--gp-heading-color, var(--gp-primary-dark));
}
.gp-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
.gp-breadcrumbs {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 16px;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 4px;
}
.gp-breadcrumbs a,
.gp-breadcrumbs .current {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.gp-breadcrumbs .gp-sep {
  opacity: 0.6;
  flex: 0 0 auto;
}
.gp-product {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: start;
}
.gp-product > * {
  min-width: 0;
}
.gp-product.gp-product-no-gallery {
  grid-template-columns: 1fr;
}

/* Gallery */
.gp-gallery {
  position: relative;
}
.gp-gallery-discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--gp-primary);
  color: var(--gp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}
.gp-gallery .swiper {
  border: 1px solid var(--gp-gray-200);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}
.gp-gallery-main .swiper-wrapper {
  align-items: stretch;
  /* the viewport: Swiper autoHeight never grows past it, whatever the image ratio */
  max-height: 520px;
}
.gp-gallery-main .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  min-height: 320px;
  max-height: 520px;
  box-sizing: border-box;
  overflow: hidden;
}
.gp-gallery-main .swiper-slide img,
.gp-gallery-main > .gp-gallery-image {
  max-width: 100%;
  max-height: 496px;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  display: block;
  margin: 0 auto;
}
.gp-gallery-main {
  min-height: 320px;
}

.gp-gallery-thumbs {
  margin-top: 12px;
}
.gp-gallery-thumbs .swiper-wrapper {
  align-items: stretch;
}
.gp-gallery-thumbs .swiper-slide {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 6px;
}
.gp-gallery-thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.gp-gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border-color: var(--gp-heading-color, var(--gp-primary-dark));
  background: var(--gp-white);
}
.gp-placeholder {
  padding: 40px;
  text-align: center;
  color: var(--gp-gray-500);
}

/* Info card */
.gp-info {
  border: 1px solid var(--gp-gray-200);
  border-radius: 12px;
  padding: 22px;
  background: var(--gp-white);
  box-shadow: 0 6px 18px -12px rgba(0, 0, 0, 0.2);
}
/* a card in a post: one box, the image on the left and the info on the right (stacked on mobile) */
.gp-product-card-embed .gp-product {
  border: 1px solid var(--gp-gray-200);
  border-radius: 12px;
  padding: 22px;
  background: var(--gp-white);
  box-shadow: 0 6px 18px -12px rgba(0, 0, 0, 0.2);
}
.gp-product-card-embed .gp-info {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.gp-product-card-embed .gp-gallery .swiper {
  border: 0;
}
.gp-title {
  font-size: 28px;
  margin: 0 0 10px;
}
.gp-title a {
  color: inherit;
  text-decoration: none;
}
.gp-title a:hover {
  color: var(--gp-link-hover-color, var(--gp-link-color, var(--gp-primary)));
}
.gp-meta {
  margin: 6px 0;
  font-size: 14px;
}
.gp-brand-eyebrow {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gp-gray-500);
}
.gp-brand-eyebrow a {
  color: inherit;
  text-decoration: none;
}
.gp-brand-eyebrow a:hover {
  color: var(--gp-link-hover-color, var(--gp-link-color, var(--gp-primary)));
}
.gp-label {
  font-weight: 600;
  color: var(--gp-heading-color, var(--gp-primary-dark));
}
.gp-label.muted {
  color: var(--gp-gray-500);
  font-size: 18px;
  font-weight: 500;
}
.gp-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
}
.gp-rating-value,
.gp-rating-count {
  color: var(--gp-text-color, var(--gp-black));
}
a.gp-rating-link {
  width: fit-content;
  text-decoration: none;
}
a.gp-rating-link:hover .gp-rating-count {
  text-decoration: underline;
}
.gp-stars .star {
  font-size: 18px;
  color: var(--gp-rating-star, var(--gp-gold, #ffd700));
}
.gp-stars .star.empty {
  color: var(--gp-gray-200);
}
.gp-excerpt {
  margin: 12px 0;
  color: var(--gp-text-color, var(--gp-black));
  line-height: 1.6;
}
.gp-merchant-description .gp-merchant-description-label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gp-gray-500);
}
/* merchant text: 10 lines until opened, the full text stays in the page */
.gp-merchant-description .gp-merchant-description-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 10;
  line-clamp: 10;
  overflow: hidden;
}
.gp-merchant-description.is-expanded .gp-merchant-description-text {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: none;
  overflow: visible;
}
.gp-merchant-description-toggle {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gp-link-color, var(--gp-primary));
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.gp-merchant-description-toggle:hover {
  color: var(--gp-link-hover-color, var(--gp-link-color, var(--gp-primary)));
}
.gp-merchant-description-toggle:focus-visible {
  outline: 2px solid var(--gp-link-color, var(--gp-primary));
  outline-offset: 2px;
}
.gp-merchant-description-toggle[hidden] {
  display: none;
}
.gp-price-block {
  margin: 12px 0;
}
.gp-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--gp-price-color, var(--gp-text-color, var(--gp-black)));
}
.gp-price-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.gp-price-old-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.gp-price-old-label {
  font-size: 12px;
  color: var(--gp-gray-500);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.gp-price-old {
  font-size: 14px;
  color: var(--gp-gray-500);
  text-decoration: line-through;
}
.gp-discount-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--gp-primary);
  color: var(--gp-white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}
.gp-attributes {
  margin: 12px 0;
}
.gp-attr-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.gp-attr {
  padding: 6px 10px;
  border: 1px solid var(--gp-gray-200);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.1;
}
.gp-attr.selected {
  background: var(--gp-button-bg, var(--gp-primary-dark));
  color: var(--gp-button-text-color, var(--gp-white));
  border-color: var(--gp-button-bg, var(--gp-primary-dark));
}
.gp-cta {
  margin: 16px 0;
}
.gp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}
.gp-offers-link {
  align-self: center;
  color: var(--gp-link-color);
  font-weight: 600;
  text-decoration: underline;
}
/* "Compare N offers" and "Compare N formats", one under the other next to the button */
.gp-offers-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.gp-offers-links .gp-offers-link {
  align-self: flex-start;
}
.gp-card-offers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  width: 100%;
  margin: 4px 0 0;
  font-size: 0.875em;
}
.gp-cta-row .gp-cta {
  margin: 0;
}
.gp-cta-row .gp-btn {
  margin: 0;
}
.gp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0.5em 0;
  padding: 12px 18px;
  background: var(--gp-button-bg, var(--gp-black, var(--gp-black)));
  border: 1px solid
    var(
      --gp-button-border-color,
      var(--gp-button-bg, var(--gp-black, var(--gp-black)))
    );
  color: var(--gp-button-text-color, var(--gp-white)) !important;
  text-decoration: none;
  border-radius: var(--gp-button-radius, 8px);
  font-weight: 600;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.gp-btn:hover {
  background: var(--gp-button-hover-bg, var(--gp-secondary));
  border-color: var(
    --gp-button-hover-border-color,
    var(--gp-button-hover-bg, var(--gp-secondary))
  );
  color: var(
    --gp-button-hover-text-color,
    var(--gp-white)
  ) !important;
}
.gp-btn.disabled {
  background: var(--gp-gray-200);
  color: var(--gp-gray-500)!important;
  cursor: not-allowed;
}

/* tabs */
.gp-tabs {
  margin-top: 28px;
  border: 1px solid var(--gp-gray-200);
  border-radius: 12px;
  overflow: hidden;
  background: var(--gp-white);
}
.gp-tab-head {
  display: flex;
  border-bottom: 1px solid var(--gp-gray-200);
}
.gp-tab-head button {
  flex: 1;
  padding: 12px 14px;
  border: 0;
  background: var(--gp-gray-100);
  cursor: pointer;
  font-weight: 600;
}
.gp-tab-head button.active {
  background: var(--gp-white);
  border-bottom: 2px solid var(--gp-heading-color, var(--gp-primary-dark));
}
.gp-tab-body {
  padding: 16px;
}
.gp-tab-pane {
  display: none;
}
.gp-tab-pane.active {
  display: block;
}

/* Content sections */
.gp-content-sections {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.gp-content-sections section,
.gp-site-reviews {
  border: 1px solid var(--gp-gray-200);
  border-radius: 12px;
  background: var(--gp-white);
  padding: 16px;
}
.gp-ingredients-list a{
  text-decoration: underline;
}
.gp-section-title {
  font-size: 20px;
  margin: 0 0 10px;
}
.gp-ai-section h2 {
  font-size: 20px;
  line-height: 1.25;
  margin: 16px 0 10px;
}
.gp-ai-section h2:first-child {
  margin-top: 0;
}
.gp-ai-section h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 14px 0 8px;
}
.gp-pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.gp-pros-cons-grid.gp-pros-cons-single {
  grid-template-columns: minmax(0, 1fr);
}
.gp-pros-cons-grid h3,
.gp-pros-cons-grid h4 {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--gp-heading-color, var(--gp-black));
}
.gp-pros-cons-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.gp-pros-cons-grid li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--gp-text-color, var(--gp-black));
}
.gp-pro-con-icon {
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
}
.gp-pros-column .gp-pro-con-icon {
  color: var(--gp-success-text);
}
.gp-cons-column .gp-pro-con-icon {
  color: var(--gp-error-text);
}
.gp-custom-table-wrap {
  overflow-x: auto;
}
.gp-custom-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  color: var(--gp-text-color, var(--gp-black));
}
.gp-custom-table th,
.gp-custom-table td {
  padding: 10px 12px;
  border: 1px solid var(--gp-gray-200);
  text-align: left;
  vertical-align: top;
}
.gp-custom-table th {
  width: 50%;
  font-weight: 700;
  color: var(--gp-heading-color, var(--gp-black));
}
.gp-custom-table tr:nth-child(odd) th,
.gp-custom-table tr:nth-child(odd) td {
  background: var(--gp-gray-50);
}
.gp-product-card-sections {
  margin-top: 20px;
}
@media (max-width: 768px) {
  .gp-pros-cons-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}

/* related products */
.gp-related-products {
  margin-top: 8px;
}
.gp-related-title {
  color: var(--gp-text-color, var(--gp-primary-dark));
}
.gp-related-swiper {
  padding-bottom: 10px;
  --swiper-navigation-color: var(
    --gp-slider-arrow-color,
    var(--gp-primary-dark)
  );
  --swiper-navigation-size: 26px;
}
.gp-related-swiper .swiper-wrapper {
  align-items: stretch;
}
.gp-related-swiper .swiper-slide {
  height: auto;
}
.gp-related-card {
  border: 0;
  border-radius: 12px;
  padding: 12px;
  background: var(--gp-white);
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  box-shadow: 0 8px 20px -18px rgb(8 7 33 / 74%);
}
/* featured products: accent border, badge at the top center (discount badge top left, wishlist heart top right) */
.gp-loop-featured {
  position: relative;
}
.gp-loop-featured .gp-related-card,
.gp-loop-featured > .gp-product-card {
  box-shadow: 0 0 0 2px var(--gp-primary), 0 12px 24px -16px var(--gp-primary);
}
.gp-featured-badge {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--gp-primary);
  color: var(--gp-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}
/* promo banners between the products: two columns on desktop, a whole row on mobile */
.gp-loop-banner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--gp-primary-light-plus);
  box-shadow: 0 8px 20px -18px rgb(8 7 33 / 74%);
  height: 100%;
}
.gp-loop-swiper.is-grid .swiper-wrapper > .gp-loop-banner {
  grid-column: span 2;
}
.gp-product-loop[data-columns-desktop="1"] .gp-loop-swiper.is-grid .swiper-wrapper > .gp-loop-banner {
  grid-column: 1 / -1;
}
/* a banner that does not fit at the end of a row takes the next one; the next products fill the gap */
.gp-loop-swiper.is-grid .swiper-wrapper:has(> .gp-loop-banner) {
  grid-auto-flow: row dense;
}
.gp-loop-banner__link {
  display: block;
  height: 100%;
}
.gp-loop-banner__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gp-loop-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  height: 100%;
}
.gp-loop-banner__inner:not(:has(.gp-loop-banner__media)) {
  grid-template-columns: minmax(0, 1fr);
}
.gp-loop-banner__media a {
  display: block;
  height: 100%;
}
.gp-loop-banner__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 24px;
}
.gp-loop-banner__title {
  margin: 0;
  font-size: 1.25rem;
  color: var(--gp-heading-color, var(--gp-primary-dark));
}
.gp-loop-banner__text {
  margin: 0;
  color: var(--gp-text-color, var(--gp-primary-dark));
}
.gp-loop-banner__cta {
  align-self: flex-start;
}
@media (min-width: 769px) {
  .gp-loop-banner--mobile-only {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .gp-loop-banner--desktop-only {
    display: none !important;
  }
  .gp-loop-swiper.is-grid .swiper-wrapper > .gp-loop-banner {
    grid-column: 1 / -1;
  }
}
@container (max-width: 560px) {
  .gp-loop-swiper.is-grid .swiper-wrapper > .gp-loop-banner {
    grid-column: 1 / -1;
  }
  .gp-loop-banner__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .gp-loop-banner__media .gp-loop-banner__img {
    aspect-ratio: 2 / 1;
  }
  .gp-loop-banner__body {
    padding: 16px;
  }
}
.gp-related-thumb {
  display: block;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
}
.gp-related-discount-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--gp-primary);
  color: var(--gp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  pointer-events: none;
}
.gp-related-thumb img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  display: block;
}
.gp-related-thumb--placeholder {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gp-gray-100);
}
.gp-related-thumb-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gp-gray-200);
}
.gp-related-brand {
  margin: 0;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gp-gray-500);
}
.gp-related-brand a {
  color: inherit;
  text-decoration: none;
}
.gp-related-brand a:hover,
.gp-related-brand a:focus-visible {
  color: var(--gp-primary);
  text-decoration: underline;
}
.gp-related-name {
  font-size: 16px;
  margin: 0;
  text-align: center;
}
.gp-related-name a {
  color: var(--gp-text-color, var(--gp-black));
  text-decoration: none;
  font-size: 0.98em;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.gp-related-price {
  font-weight: 600;
  color: var(--gp-text-color, var(--gp-black));
  font-size: 1.25em;
  text-align: center;
}
.gp-related-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gp-gray-500);
}
.gp-related-stars {
  display: flex;
  gap: 1px;
}
.gp-related-stars .star {
  color: var(--gp-rating-star, var(--gp-gold, #ffd700));
  font-size: 14px;
}
.gp-related-stars .star.empty {
  color: var(--gp-gray-200);
}
.gp-related-reviews {
  font-size: 12px;
  color: var(--gp-gray-500);
}
.gp-related-cta {
  width: 100%;
  justify-content: center;
  margin-top: auto;
  font-size: small;
  white-space: normal;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
  flex-wrap: wrap;
  min-height: 42px;
  padding: 10px 12px;
  margin-bottom: 15px !important;
}
.gp-product-loop .gp-related-cta.gp-btn {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  line-height: 1.25 !important;
  overflow: visible !important;
}
.gp-related-prev,
.gp-related-next {
  color: var(--gp-slider-arrow-color, var(--gp-primary-dark)) !important;
  position: absolute;
  top: 50%;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  z-index: 2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.gp-related-prev {
  left: 6px;
}
.gp-related-next {
  right: 6px;
}
.gp-related-prev:hover,
.gp-related-next:hover {
  color: var(--gp-slider-arrow-hover-color, var(--gp-secondary)) !important;
}

/*text*/
.gp-custom-text p {
  font-size: 12px;
  line-height: 1.25;
}
.gp-ingredients-report {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--gp-gray-200);
  border-radius: 10px;
  background: var(--gp-gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.gp-ingredients-report-text {
  margin: 0;
  font-size: 14px;
  color: var(--gp-black);
}
.gp-ingredients-report-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--gp-button-bg, var(--gp-primary-dark));
  color: var(--gp-button-text-color, var(--gp-white)) !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}
.gp-ingredients-report-btn:hover {
  background: var(--gp-button-hover-bg, var(--gp-secondary));
  color: var(--gp-button-hover-text-color, var(--gp-primary-dark)) !important;
}

.gp-gallery .swiper-button-next,
.gp-gallery .swiper-button-prev {
  color: var(--gp-slider-arrow-color, var(--gp-primary-dark));
}
.gp-gallery .swiper-button-next:hover,
.gp-gallery .swiper-button-prev:hover {
  color: var(--gp-slider-arrow-hover-color, var(--gp-secondary));
}

/* Taxonomy archives */
.gp-taxonomy-archive {
  padding: 28px 0;
  color: var(--gp-text-color, var(--gp-black));
}
.gp-taxonomy-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gp-gray-200);
}
/* plugin page titles stay lighter than the theme h1 */
.gp-taxonomy-title,
.gp-catalog-search-header h1,
h1.gp-title,
h1.gp-post-title {
  font-weight: 500;
}
.gp-taxonomy-title {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  color: var(--gp-heading-color, var(--gp-primary-dark));
}
.gp-taxonomy-description {
  max-width: 100%;
  color: var(--gp-gray-500);
  line-height: 1.6;
  font-size: 16px;
      margin: 2em 0;
}
.gp-taxonomy-description-after-loop {
  margin-top: 24px;
}
.gp-taxonomy-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
  width: calc(100% + 20px);
}
.gp-taxonomy-col {
  padding: 10px;
  flex: 0 0 25%;
  max-width: 25%;
  display: flex;
  min-width: 0;
}
.gp-taxonomy-col .gp-related-card {
  width: 100%;
}
/* Composition glossary block (ported from the legacy ingredient directory) */
.gp-composition-glossary {
  width: min(100%, 1180px);
  margin-inline: auto;
}
.gp-glossary-title {
  margin: 0 0 1rem;
}
.gp-glossary-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  padding: 0.65rem;
  border: 1px solid var(--msc-line, var(--gp-gray-200));
  border-radius: 1rem;
  background: var(--gp-white);
  box-shadow: 0 18px 45px -38px rgb(14 15 32 / 0.5);
}
.gp-glossary-search input {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 0.7rem;
  background: var(--msc-soft, var(--gp-gray-100));
  color: var(--msc-ink, var(--gp-black));
  font: inherit;
}
.gp-glossary-search button {
  min-height: 3.1rem;
  padding: 0.7rem 1.25rem;
  border: 0;
  border-radius: 0.75rem;
  background: var(--msc-ink, var(--gp-black));
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.gp-glossary-search button:hover {
  background: var(--msc-purple, var(--gp-primary));
}
.gp-glossary-alphabet {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-block: 1.35rem;
  justify-content: center;
}
.gp-glossary-alphabet a,
.gp-glossary-alphabet a:visited {
  display: grid;
  min-width: 2.05rem;
  min-height: 2.05rem;
  place-items: center;
  border: 1px solid var(--msc-line, var(--gp-gray-200));
  border-radius: 0.6rem;
  background: var(--gp-white);
  color: var(--msc-ink, var(--gp-black));
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
}
.gp-glossary-alphabet a:hover,
.gp-glossary-alphabet a[aria-current="page"] {
  border-color: var(--msc-purple, var(--gp-primary));
  background: var(--msc-purple, var(--gp-primary));
  color: #fff;
}
.gp-glossary-summary {
  margin: 0 0 1rem;
  color: var(--msc-muted, var(--gp-gray-500));
  font-size: 0.9rem;
      text-align: center;
}
.gp-glossary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.gp-glossary-card {
  position: relative;
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid var(--msc-line, var(--gp-gray-200));
  border-radius: 1rem;
  background: var(--gp-white);
  transition: border-color var(--gl-ease, 0.2s ease), transform var(--gl-ease, 0.2s ease), box-shadow var(--gl-ease, 0.2s ease);
}
.gp-glossary-card:hover {
  border-color: rgb(170 97 163 / 0.5);
  box-shadow: 0 18px 36px -32px rgb(14 15 32 / 0.65);
  transform: translateY(-2px);
}
.gp-glossary-card h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.gp-glossary-card h2 a {
  color: var(--msc-ink, var(--gp-black));
  text-decoration: none;
}
.gp-glossary-card h2 a:hover,
.gp-glossary-card:hover h2 a {
  color: var(--msc-purple, var(--gp-primary));
}
/* the whole card opens the link, easier to tap on mobile */
.gp-glossary-card h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.gp-glossary-card:focus-within {
  outline: 2px solid var(--msc-purple, var(--gp-primary));
  outline-offset: 2px;
}
.gp-glossary-card h2 a:focus-visible {
  outline: none;
}
.gp-glossary-card--count h2 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}
.gp-glossary-count {
  flex: none;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gp-filter-count-color, var(--gp-gray-500));
}
.gp-glossary-function {
  margin: 0.55rem 0 0;
  color: var(--msc-purple, var(--gp-primary));
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.4;
}
.gp-glossary-identifiers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.8rem;
  margin: 0.65rem 0 0;
  color: var(--msc-muted, var(--gp-gray-500));
  font-size: 0.72rem;
}
.gp-glossary-identifiers strong {
  color: var(--msc-slate, var(--gp-black));
}
.gp-glossary-empty {
  padding: 2rem;
  border: 1px dashed var(--msc-line, var(--gp-gray-200));
  border-radius: 1rem;
  background: var(--msc-soft, var(--gp-gray-100));
  color: var(--msc-muted, var(--gp-gray-500));
  text-align: center;
}
@media (max-width: 900px) {
  .gp-glossary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .gp-glossary-grid {
    grid-template-columns: 1fr;
  }
  .gp-glossary-search {
    grid-template-columns: 1fr;
  }
}

.gp-no-products {
  border: 1px solid var(--gp-gray-200);
  border-radius: 12px;
  background: var(--gp-white);
  padding: 30px 20px;
  text-align: center;
}
.gp-no-products h2 {
  margin: 0 0 8px;
  font-size: 30px;
  color: var(--gp-heading-color, var(--gp-primary-dark));
}
.gp-no-products p {
  margin: 0;
  color: var(--gp-gray-500);
}

/* ingredient archive */
.gp-composition-archive .gp-composition-header {
  margin-bottom: 18px;
}
.gp-composition-details {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gp-composition-detail {
  border: 1px solid var(--gp-gray-200);
  border-radius: 12px;
  background: var(--gp-white);
  padding: 16px;
}
.gp-composition-detail h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.2vw, 44px);
  line-height: 1.1;
  color: var(--gp-heading-color, var(--gp-primary-dark));
}
.gp-composition-detail p {
  margin: 0;
  color: var(--gp-black);
  line-height: 1.6;
}
.gp-composition-detail-content p {
  margin: 0 0 12px;
  color: var(--gp-black);
  line-height: 1.6;
}
.gp-composition-detail-content p:last-child {
  margin-bottom: 0;
}

/* Amazon reviews */
.gp-amazon-reviews {
  margin-top: 8px;
}
.gp-reviews-title {
  color: var(--gp-heading-color, var(--gp-primary-dark));
}
.gp-reviews-container {
  position: relative;
  max-height: 450px;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid var(--gp-gray-200);
  border-radius: 12px;
  background: var(--gp-gray-50);
  padding: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--gp-gray-200) var(--gp-gray-100);
}
.gp-reviews-container::-webkit-scrollbar {
  width: 8px;
}
.gp-reviews-container::-webkit-scrollbar-track {
  background: var(--gp-gray-100);
  border-radius: 4px;
}
.gp-reviews-container::-webkit-scrollbar-thumb {
  background: var(--gp-gray-200);
  border-radius: 4px;
}
.gp-reviews-container::-webkit-scrollbar-thumb:hover {
  background: var(--gp-gray-500);
}
.gp-reviews-scroll {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px;
}
.gp-review-card {
  background: var(--gp-white);
  border: 1px solid var(--gp-gray-200);
  border-radius: 10px;
  padding: 16px;
  transition: box-shadow 0.2s ease;
}
.gp-review-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.gp-review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.gp-review-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.gp-review-author {
  font-weight: 600;
  color: var(--gp-heading-color, var(--gp-primary-dark));
  font-size: 14px;
}
.gp-review-stars {
  display: inline-flex;
  gap: 1px;
}
.gp-star {
  font-size: 14px;
  line-height: 1;
}
.gp-star-full {
  color: var(--gp-rating-star, var(--gp-gold, #ffd700));
}
.gp-star-half {
  color: var(--gp-rating-star, var(--gp-gold, #ffd700));
  opacity: 0.6;
}
.gp-star-empty {
  color: var(--gp-gray-200);
}
.gp-review-date {
  font-size: 12px;
  color: var(--gp-gray-500);
}
.gp-review-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gp-heading-color, var(--gp-primary-dark));
  line-height: 1.3;
}
.gp-review-title a {
  color: inherit;
  text-decoration: none;
}
.gp-review-title a:hover {
  color: var(--gp-link-color, var(--gp-primary));
}
.gp-review-text {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--gp-black);
}
.gp-review-readmore {
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.gp-reviews-footer {
  margin-top: 16px;
  text-align: center;
}
.gp-reviews-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
}

/* site reviews (PRO): the rest comes from the product page classes */
.gp-site-reviews {
  margin-top: 20px;
}
.gp-content-sections > .gp-site-reviews {
  margin-top: 0;
}
.gp-review-form {
  margin-top: 20px;
}
.gp-review-form .gp-ingredients-report {
  background: var(--gp-accent);
}
/* product cards: ratings behind a star in the top left corner, same look as the wishlist heart */
.gp-related-card:has(> .gp-rating-badge) {
  position: relative;
}
.gp-rating-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
}
.gp-rating-badge-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--gp-gray-200);
  border-radius: 50%;
  background: var(--gp-white);
  color: var(--gp-gray-500);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}
.gp-rating-badge-btn svg {
  fill: var(--gp-rating-star, var(--gp-gold, #ffd700));
  stroke: var(--gp-rating-star, var(--gp-gold, #ffd700));
  stroke-width: 2;
  stroke-linejoin: round;
}
.gp-rating-badge:hover .gp-rating-badge-btn,
.gp-rating-badge.is-open .gp-rating-badge-btn,
.gp-rating-badge-btn:focus-visible {
  color: var(--gp-primary);
  transform: scale(1.06);
}
.gp-rating-badge-tip {
  display: none;
  position: absolute;
  top: 44px;
  left: 0;
  min-width: 170px;
  padding: 8px 10px;
  border: 1px solid var(--gp-gray-200);
  border-radius: 10px;
  background: var(--gp-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.gp-rating-badge:hover .gp-rating-badge-tip,
.gp-rating-badge:focus-within .gp-rating-badge-tip,
.gp-rating-badge.is-open .gp-rating-badge-tip {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gp-rating-badge-tip .gp-related-rating {
  flex-wrap: wrap;
  justify-content: flex-start;
  row-gap: 0;
}
.gp-rating-badge-tip .gp-rating-source {
  flex-basis: 100%;
  line-height: 1.2;
}
.gp-rating + .gp-review-link {
  margin-top: -6px;
}
.gp-product-page .gp-meta.gp-review-link a,
.gp-product-page .gp-meta.gp-review-link a:not(.gp-btn):hover {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--gp-tertiary-dark);
  text-decoration: none;
}
.gp-product-page .gp-meta.gp-review-link a:not(.gp-btn):hover {
  text-decoration: underline;
}
.gp-review-form label.gp-label,
.gp-review-form legend {
  display: block;
  float: none;
  width: auto;
  margin: 0 0 4px;
  font-size: inherit;
}
.gp-review-form input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
.gp-review-form textarea,
.gp-review-form select {
  width: 100%;
}
.gp-review-rating {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}
/* stars in reverse order: hovering or checking one also lights the lower ones */
.gp-review-rating .gp-stars {
  display: inline-flex;
  flex-direction: row-reverse;
}
.gp-review-rating input {
  position: absolute;
  opacity: 0;
}
.gp-review-rating .star {
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: var(--gp-gray-200);
}
.gp-review-rating input:checked ~ .star,
.gp-review-rating .star:hover,
.gp-review-rating .star:hover ~ .star {
  color: var(--gp-rating-star, var(--gp-gold, #ffd700));
}
.gp-review-rating input:focus-visible + .star {
  outline: 2px solid var(--gp-primary);
  outline-offset: 2px;
}


@media (max-width: 960px) {
  .gp-product {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .gp-gallery-main .swiper-wrapper,
  .gp-gallery-main .swiper-slide {
    max-height: 360px;
  }
  .gp-gallery-main .swiper-slide {
    min-height: 280px;
  }
  .gp-gallery-main .swiper-slide img,
  .gp-gallery-main > .gp-gallery-image {
    max-height: 336px;
  }
  .gp-gallery-thumbs .swiper-slide {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }
  .gp-reviews-container {
    max-height: 380px;
  }
  .gp-review-header {
    flex-direction: column;
    gap: 6px;
  }
  .gp-breadcrumbs {
    font-size: 13px;
  }
  .gp-taxonomy-col {
    flex-basis: 50%;
    max-width: 50%;
  }
}

/* Product loop widget/block/ shortcode */
.gp-product-loop {
  margin: 24px 0;
  container-type: inline-size;
  /* not inline on the wrapper: the mobile rule below must be able to change it */
  --gp-loop-columns-active: var(--gp-loop-columns-desktop, 4);
}
.gp-loop-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--gp-heading-color, var(--gp-black));
}
.gp-loop-grid-container {
  display: grid;
  grid-template-columns: repeat(var(--gp-loop-columns, 4), 1fr);
  gap: 20px;
}
.gp-loop-slider {
  position: relative;
}
.gp-loop-swiper {
  padding: 10px 4px 20px;
  --swiper-navigation-color: var(
    --gp-slider-arrow-color,
    var(--gp-primary-dark)
  );
  --swiper-navigation-size: 26px;
}
.gp-loop-swiper .swiper-wrapper {
  align-items: stretch;
}
.gp-loop-swiper .swiper-slide {
  height: auto;
  min-width: 0;
}
.gp-loop-swiper.is-grid .swiper-wrapper {
  display: grid !important;
  grid-template-columns: repeat(
    var(--gp-loop-columns-active, var(--gp-loop-columns-desktop, 4)),
    minmax(0, 1fr)
  );
  gap: 20px;
  transform: none !important;
}
.gp-loop-swiper.is-grid .swiper-slide {
  width: auto !important;
  margin-right: 0 !important;
}
.gp-loop-swiper.is-slider .swiper-wrapper {
  display: flex;
}
.gp-loop-swiper.is-slider.is-slider-fallback {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.gp-loop-swiper.is-slider.is-slider-fallback .swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  transform: none !important;
  transition: none !important;
}
.gp-loop-swiper.is-slider.is-slider-fallback .swiper-slide {
  flex: 0 0
    calc(
      (100% - (var(--gp-loop-columns-active, 1) - 1) * 16px) /
        var(--gp-loop-columns-active, 1)
    );
  width: auto !important;
  margin-right: 0 !important;
  scroll-snap-align: start;
}
.gp-product-loop.gp-loop-slider-fallback .gp-loop-prev,
.gp-product-loop.gp-loop-slider-fallback .gp-loop-next {
  display: none !important;
}
.gp-product-loop.gp-loop-mode-grid .gp-loop-prev,
.gp-product-loop.gp-loop-mode-grid .gp-loop-next {
  display: none !important;
}
.gp-loop-prev,
.gp-loop-next {
  color: var(--gp-slider-arrow-color, var(--gp-primary-dark)) !important;
}
.gp-loop-prev:hover,
.gp-loop-next:hover {
  color: var(--gp-slider-arrow-hover-color, var(--gp-secondary)) !important;
}
.gp-related-card {
  min-width: 0;
}
.gp-related-body {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}
.gp-related-meta,
.gp-related-original-price,
.gp-related-description {
  color: var(--gp-text-color, var(--gp-black));
  font-size: 13px;
  line-height: 1.45;
}
.gp-related-original-price {
  text-align: center;
  color: var(--gp-gray-500);
}
.gp-related-description {
  font-size: 14px;
}
.gp-related-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.gp-related-actions .gp-related-cta {
  margin: 0 !important;
}
.gp-product-group-details {
  border-top: 1px solid var(--gp-gray-200);
  color: var(--gp-text-color, var(--gp-black));
}
.gp-product-group-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  color: var(--gp-heading-color, var(--gp-black));
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.gp-product-group-details summary::-webkit-details-marker {
  display: none;
}
.gp-product-group-details summary span {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}
.gp-product-group-details[open] summary span {
  transform: rotate(45deg);
}
.gp-product-group-detail-content {
  padding: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.gp-product-group-detail-content .gp-pros-cons-section,
.gp-product-group-detail-content .gp-custom-table-section {
  margin: 0;
  padding: 0;
  border: 0;
}
.gp-product-group-detail-content .gp-custom-table {
  min-width: 320px;
}
.gp-product-loop.gp-loop-layout-list .gp-loop-swiper.is-grid .swiper-wrapper {
  grid-template-columns: minmax(0, 1fr);
}
.gp-product-loop.gp-loop-layout-list .gp-related-card {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
  padding: 16px;
}
.gp-product-loop.gp-loop-layout-list .gp-related-thumb,
.gp-product-loop.gp-loop-layout-list .gp-related-thumb img,
.gp-product-loop.gp-loop-layout-list .gp-related-thumb--placeholder {
  width: 100%;
  height: 100%;
  min-height: 190px;
}
.gp-product-loop.gp-loop-layout-list .gp-related-name,
.gp-product-loop.gp-loop-layout-list .gp-related-price,
.gp-product-loop.gp-loop-layout-list .gp-related-original-price {
  text-align: left;
}
.gp-product-loop.gp-loop-layout-list .gp-related-rating {
  justify-content: flex-start;
}
.gp-product-loop.gp-loop-layout-list .gp-related-actions {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.gp-product-loop.gp-loop-layout-list .gp-related-cta.gp-btn {
  display: inline-flex !important;
  flex: 0 1 auto;
  width: auto !important;
  max-width: 100%;
}
.gp-product-loop.gp-loop-layout-list .gp-related-body:only-child {
  grid-column: 1 / -1;
}
.gp-product-group-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 24px 0;
}
.gp-product-group-card .gp-product-embed {
  margin: 0;
}
.gp-product-card-ingredients {
  color: var(--gp-text-color, var(--gp-black));
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* Product filters */
.gp-product-filters {
  margin: 24px 0;
}
.gp-product-filters-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
/* without the filter sidebar the products take the whole width */
.gp-product-filters-layout--no-sidebar {
  grid-template-columns: minmax(0, 1fr);
}
.gp-product-filters-sidebar {
  position: relative;
}
.gp-product-filters-toggle {
  display: none;
}
.gp-product-filters-form {
  border: 1px solid var(--gp-filter-panel-border, var(--gp-gray-200));
  border-radius: 12px;
  padding: 16px;
  background: var(--gp-filter-panel-bg, var(--gp-white));
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gp-product-filter-section + .gp-product-filter-section {
  padding-top: 14px;
  border-top: 1px solid var(--gp-filter-panel-border, var(--gp-gray-100));
}
.gp-product-filter-section--exclude .gp-product-filter-title::before {
  content: "\2715";
  margin-right: 6px;
  font-weight: 700;
}
.gp-product-filter-title {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(
    --gp-filter-title-color,
    var(--gp-heading-color, var(--gp-text-color, var(--gp-black)))
  );
}
.gp-product-filter-empty {
  margin: 0;
  font-size: 13px;
  color: var(--gp-filter-count-color, var(--gp-gray-500));
}
.gp-product-filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  overflow-x: hidden;
}
.gp-product-filter-list > li {
  min-width: 0;
}
.gp-product-filter-list > li.gp-product-filter-depth-1 { padding-left: 14px; }
.gp-product-filter-list > li.gp-product-filter-depth-2 { padding-left: 28px; }
.gp-product-filter-list > li.gp-product-filter-depth-3,
.gp-product-filter-list > li.gp-product-filter-depth-4 { padding-left: 42px; }

.gp-product-filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.25;
  color: var(--gp-filter-text-color, var(--gp-text-color, var(--gp-black)));
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.gp-product-filter-option input[type="checkbox"] {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: var(
    --gp-filter-submit-bg,
    var(--gp-button-bg, var(--gp-primary))
  );
}
.gp-product-filter-name {
  flex: 1;
  min-width: 0;
}
.gp-product-filter-count {
  font-size: 12px;
  color: var(--gp-filter-count-color, var(--gp-gray-500));
}
.gp-product-filter-price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.gp-product-filter-price-row label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gp-filter-count-color, var(--gp-gray-500));
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.gp-product-filter-price-input {
  height: 40px;
  border: 1px solid var(--gp-filter-input-border, var(--gp-gray-200));
  border-radius: var(--gp-filter-input-radius, 8px);
  background: var(--gp-filter-input-bg, var(--gp-white));
  padding: 0 10px;
  font-size: 14px;
  color: var(
    --gp-filter-input-text,
    var(--gp-filter-text-color, var(--gp-text-color, var(--gp-primary-dark)))
  );
}
.gp-product-filter-price-input:focus {
  outline: none;
  border-color: var(
    --gp-filter-input-focus-border,
    var(--gp-link-color, var(--gp-primary))
  );
  background: var(
    --gp-filter-input-focus-bg,
    var(--gp-filter-input-bg, var(--gp-white))
  );
  color: var(
    --gp-filter-input-focus-text,
    var(
      --gp-filter-input-text,
      var(--gp-filter-text-color, var(--gp-text-color, var(--gp-primary-dark)))
    )
  );
  box-shadow: 0 0 0 3px var(--gp-primary-light-plus);
}
.gp-product-filter-price-hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--gp-filter-count-color, var(--gp-gray-500));
}
.gp-product-filter-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}
.gp-product-filter-submit.gp-btn {
  width: 100%;
  justify-content: center;
  margin: 0;
  border: 1px solid
    var(
      --gp-filter-submit-border,
      var(
        --gp-button-border-color,
        var(--gp-button-bg, var(--gp-black, var(--gp-black)))
      )
    );
  background: var(
    --gp-filter-submit-bg,
    var(--gp-button-bg, var(--gp-black, var(--gp-black)))
  );
  color: var(
    --gp-filter-submit-text,
    var(--gp-button-text-color, var(--gp-white))
  ) !important;
  border-radius: var(--gp-filter-button-radius, var(--gp-button-radius, 8px));
  -webkit-appearance: none;
  appearance: none;
}
.gp-product-filter-submit.gp-btn:hover {
  border-color: var(
    --gp-filter-submit-hover-border,
    var(
      --gp-button-hover-border-color,
      var(--gp-button-hover-bg, var(--gp-secondary))
    )
  );
  background: var(
    --gp-filter-submit-hover-bg,
    var(--gp-button-hover-bg, var(--gp-secondary))
  );
  color: var(
    --gp-filter-submit-hover-text,
    var(--gp-button-hover-text-color, var(--gp-primary-dark, var(--gp-black)))
  ) !important;
}
.gp-product-filter-reset {
  font-size: 13px;
  font-weight: 600;
  color: var(--gp-filter-reset-color, var(--gp-link-color, var(--gp-primary)));
  text-decoration: none;
  text-align: center;
}
.gp-product-filter-reset:hover {
  color: var(
    --gp-filter-reset-hover-color,
    var(--gp-link-hover-color, var(--gp-link-color, var(--gp-primary)))
  );
  opacity: 1;
}
.gp-product-filters-results {
  min-width: 0;
  scroll-margin-top: 120px;
  transition: opacity 0.15s ease;
}
.gp-product-filters-results.is-loading {
  opacity: 0.45;
  pointer-events: none;
}
/* filters apply on change: the submit button is only for visitors without JavaScript */
.gp-product-filters--ajax .gp-product-filter-submit {
  display: none;
}
.gp-product-filters-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.gp-product-filters-total {
  font-size: 14px;
  font-weight: 600;
  color: var(--gp-heading-color, var(--gp-primary-dark));
}
.gp-product-filters-active {
  font-size: 13px;
  color: var(--gp-link-color, var(--gp-primary));
  font-weight: 600;
}

@media (max-width: 768px) {
  .gp-product-loop {
    --gp-loop-columns-active: var(--gp-loop-columns-mobile, 2);
  }
}

@container (max-width: 560px) {
  .gp-product-loop.gp-loop-layout-list .gp-related-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
  .gp-product-loop.gp-loop-layout-list .gp-related-thumb,
  .gp-product-loop.gp-loop-layout-list .gp-related-thumb img,
  .gp-product-loop.gp-loop-layout-list .gp-related-thumb--placeholder {
    height: 180px;
    min-height: 180px;
  }
  .gp-product-loop.gp-loop-layout-list .gp-related-body:only-child {
    grid-column: auto;
  }
}

@container (max-width: 420px) {
  .gp-loop-swiper {
    padding: 8px 0 16px;
  }
  .gp-loop-swiper.is-grid .swiper-wrapper {
    gap: 12px;
  }
  .gp-related-card {
    padding: 10px;
    gap: 6px;
  }
  .gp-related-thumb img,
  .gp-related-thumb--placeholder {
    height: 150px;
  }
  .gp-related-name {
    font-size: 14px;
    line-height: 1.25;
  }
  .gp-related-price {
    font-size: 1.1em;
  }
  .gp-related-cta {
    font-size: 13px;
    line-height: 1.2;
    min-height: 44px;
    padding: 10px;
  }
}

@media (max-width: 960px) {
  .gp-product-filters-layout {
    grid-template-columns: 1fr;
  }
  .gp-product-filters-form {
    padding: 14px;
  }
  .gp-product-filter-list {
    max-height: 180px;
  }
}

@media (max-width: 768px) {
  .gp-product-filters-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 12px 16px;
    border: 1px solid var(--gp-filter-panel-border, var(--gp-primary-light-plus));
    border-radius: 12px;
    background: #fce9f2;
    color: var(--gp-filter-title-color, #9d3266);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: left;
    cursor: pointer;
  }
  .gp-product-filters-toggle:focus-visible {
    outline: 2px solid var(--gp-primary);
    outline-offset: 2px;
  }
  .gp-product-filters-toggle-funnel {
    flex: 0 0 auto;
  }
  .gp-product-filters-toggle-label {
    flex: 1 1 auto;
  }
  .gp-product-filters-toggle-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--gp-primary);
    color: var(--gp-white);
    font-size: 12px;
    letter-spacing: 0;
  }
  .gp-product-filters-toggle-icon {
    width: 8px;
    height: 8px;
    margin: 0 4px 4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }
  .gp-product-filters-sidebar--collapsible:not(.is-collapsed) .gp-product-filters-toggle {
    margin-bottom: 10px;
  }
  .gp-product-filters-sidebar--collapsible:not(.is-collapsed) .gp-product-filters-toggle-icon {
    margin: 4px 4px 0;
    transform: rotate(-135deg);
  }
  .gp-product-filters-sidebar.is-collapsed .gp-product-filters-form {
    display: none;
  }
}

/* Product instant search */
.gp-product-search {
  position: relative;
  margin: 20px auto;
  color: var(
    --gp-search-input-text,
    var(
      --gp-search-text-color,
      var(--gp-text-color, var(--gp-primary-dark))
    )
  );
}
.gp-product-search-form {
  position: relative;
  z-index: 2;
}
.gp-product-search-input,
.gp-product-search-category {
  width: 100%;
  height: 48px;
  border: 1px solid var(--gp-search-input-border, var(--gp-gray-200));
  border-radius: var(--gp-search-input-radius, 10px);
  background: var(--gp-search-input-bg, var(--gp-white));
  padding: 0 14px;
  font-size: 15px;
  line-height: 1.4;
  color: var(
    --gp-search-input-text,
    var(
      --gp-search-text-color,
      var(--gp-text-color, var(--gp-primary-dark))
    )
  );
}
.gp-product-search-input:focus,
.gp-product-search-category:focus {
  outline: none;
  background: var(
    --gp-search-input-focus-bg,
    var(--gp-search-input-bg, var(--gp-white))
  );
  color: var(
    --gp-search-input-focus-text,
    var(
      --gp-search-text-color,
      var(--gp-text-color, var(--gp-primary-dark))
    )
  );
  border-color: var(
    --gp-search-input-focus-border,
    var(
      --gp-search-focus-color,
      var(--gp-search-link-color, var(--gp-link-color, var(--gp-primary)))
    )
  );
  box-shadow: 0 0 0 3px var(--gp-primary-light-plus);
}
.gp-product-search-submit {
  width: 100%;
  height: 48px;
  border: 1px solid
    var(
      --gp-search-button-border,
      var(
        --gp-search-button-bg,
        var(--gp-button-bg, var(--gp-primary-dark))
      )
    );
  border-radius: var(--gp-search-button-radius, 10px);
  background: var(
    --gp-search-button-bg,
    var(--gp-button-bg, var(--gp-primary-dark))
  );
  color: var(--gp-search-button-text, var(--gp-button-text-color, var(--gp-white)));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.gp-product-search-submit:hover {
  background: var(
    --gp-search-button-hover-bg,
    var(--gp-button-hover-bg, var(--gp-secondary))
  );
  border-color: var(
    --gp-search-button-hover-border,
    var(
      --gp-search-button-hover-bg,
      var(--gp-button-hover-bg, var(--gp-secondary))
    )
  );
  color: var(
    --gp-search-button-hover-text,
    var(--gp-button-hover-text-color, var(--gp-primary-dark))
  );
}
.gp-product-search-submit .gp-product-search-submit-icon {
  width: 20px;
  height: 20px;
  display: block;
  flex: 0 0 auto;
}
/* Icon only: the button takes the color of its place (a header), the search opens in a dialog */
.gp-product-search-launcher {
  display: inline-flex;
}
.gp-product-search-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.gp-product-search-trigger:hover,
.gp-product-search-trigger:focus-visible {
  color: var(--gp-link-color, var(--gp-primary));
}
.gp-product-search-trigger-icon {
  width: 22px;
  height: 22px;
  display: block;
}
.gp-product-search-modal {
  width: min(860px, calc(100vw - 32px));
  max-height: calc(100vh - 64px);
  margin: 8vh auto auto;
  padding: 0;
  border: 1px solid var(--gp-gray-200);
  border-radius: 12px;
  background: var(--gp-white);
  overflow: visible;
}
.gp-product-search-modal::backdrop {
  background: rgba(0, 0, 0, 0.35);
}
.gp-product-search-modal-body {
  position: relative;
  padding: 44px 20px 20px;
}
.gp-product-search-modal .gp-product-search {
  margin: 0;
}
.gp-product-search-modal-close {
  position: absolute;
  top: 6px;
  right: 10px;
  border: 0;
  background: transparent;
  color: var(--gp-gray-500);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.gp-product-search-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 99;
  background: var(--gp-search-dropdown-bg, var(--gp-white));
  border: 1px solid var(--gp-search-dropdown-border, var(--gp-gray-200));
  border-radius: var(--gp-search-dropdown-radius, 12px);
  box-shadow: 0 18px 30px -24px rgba(8, 7, 33, 0.65);
  padding: 12px;
  /* many results scroll inside the dropdown, so "See all results" stays reachable;
     at its end the page scrolls on, for a dropdown that starts low in the page */
  max-height: 70vh;
  overflow-y: auto;
}
/* the modal opens 8vh from the top and the field takes about 120px */
.gp-product-search-modal .gp-product-search-dropdown {
  max-height: calc(92vh - 160px);
}
.gp-search-section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--gp-gray-500);
  text-transform: uppercase;
  margin: 0 0 8px;
}
.gp-product-search-history {
  margin-bottom: 8px;
}
.gp-search-history-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gp-search-history-item {
  width: 100%;
  border: 0;
  background: var(--gp-white);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
  color: var(
    --gp-search-input-text,
    var(
      --gp-search-text-color,
      var(--gp-text-color, var(--gp-primary-dark))
    )
  );
  cursor: pointer;
  line-height: 1.3;
}
.gp-search-history-item:hover {
  background: var(--gp-gray-100);
}
.gp-search-history-item .fa-history {
  font-size: 13px;
  opacity: 0.72;
}
.gp-search-results-grid {
  margin-left: 0;
  margin-right: 0;
}
.gp-search-results-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gp-search-item {
  display: flex;
  text-decoration: none;
  color: var(
    --gp-search-input-text,
    var(
      --gp-search-text-color,
      var(--gp-text-color, var(--gp-primary-dark))
    )
  );
  border: 1px solid var(--gp-gray-200);
  border-radius: 10px;
  padding: 8px;
  background: var(--gp-white);
  height: 100%;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.gp-search-item:hover {
  border-color: var(--gp-search-link-color, var(--gp-link-color, var(--gp-primary)));
  box-shadow: 0 8px 18px -18px rgba(8, 7, 33, 0.78);
}
.gp-search-thumb-wrap {
  flex: 0 0 64px;
  max-width: 64px;
}
.gp-search-thumb-wrap img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
}
.gp-search-thumb-placeholder {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gp-gray-100);
  border-radius: 8px;
  color: var(--gp-gray-200);
}
.gp-search-item-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.gp-search-item-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--gp-heading-color, var(--gp-black));
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.gp-search-item-title-row,
.gp-catalog-search-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.gp-search-item-title-row .gp-search-item-title {
  flex: 1 1 auto;
}
.gp-search-type-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 22px;
  padding: 3px 8px;
  border: 1px solid var(--gp-gray-200);
  border-radius: 999px;
  background: var(--gp-gray-100);
  color: var(--gp-heading-color, var(--gp-primary-dark));
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.gp-search-item-meta {
  font-size: 12px;
  color: var(--gp-gray-500);
  line-height: 1.3;
}
.gp-search-item-sku {
  font-size: 12px;
  color: var(--gp-gray-500);
}
.gp-search-item-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.gp-search-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--gp-search-link-color, var(--gp-link-color, var(--gp-primary)));
}
.gp-search-item-discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--gp-search-link-color, var(--gp-link-color, var(--gp-primary)));
  color: var(--gp-white);
}
.gp-search-item-match {
  font-size: 11px;
  color: var(--gp-gray-500);
  line-height: 1.2;
}
.gp-search-empty {
  font-size: 14px;
  color: var(--gp-gray-500);
  padding: 10px 0;
}
.gp-search-suggestions p {
  margin: 0;
}
.gp-search-suggestion {
  font-weight: 600;
  color: var(--gp-search-link-color, var(--gp-link-color, var(--gp-primary)));
  text-decoration: underline;
}
.gp-product-search-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--gp-search-dropdown-border, var(--gp-gray-100));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.gp-search-all-results {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--gp-search-link-color, var(--gp-link-color, var(--gp-primary)));
  text-decoration: none;
}
.gp-search-all-results:hover {
  opacity: 0.85;
}
.gp-search-missing-product {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 12px 50px;
  border-radius: var(--gp-search-button-radius, 10px);
  border: 2px solid
    var(
      --gp-search-missing-button-border,
      var(
        --gp-primary,
        var(--gp-search-link-color, var(--gp-link-color, var(--gp-primary)))
      )
    );
  background: var(--gp-search-missing-button-bg, transparent);
  color: var(
    --gp-search-missing-button-text,
    var(
      --gp-primary,
      var(--gp-search-link-color, var(--gp-link-color, var(--gp-primary)))
    )
  );
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.gp-search-missing-product:hover {
  background: var(
    --gp-search-missing-button-hover-bg,
    var(--gp-search-link-color, var(--gp-link-color, var(--gp-primary)))
  );
  border-color: var(
    --gp-search-missing-button-hover-border,
    var(
      --gp-search-missing-button-border,
      var(--gp-search-link-color, var(--gp-link-color, var(--gp-primary)))
    )
  );
  color: var(
    --gp-search-missing-button-hover-text,
    var(--gp-white)
  );
  opacity: 1;
}

.gp-catalog-search-page {
  padding: 56px 0 72px;
}
.gp-catalog-search-header {
  margin-bottom: 28px;
}
.gp-catalog-search-kicker {
  margin: 0 0 8px;
  color: var(--gp-link-color, var(--gp-primary));
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gp-catalog-search-header h1 {
  margin: 0;
  color: var(--gp-heading-color, var(--gp-black));
}
.gp-catalog-featured {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 32px;
  padding: 24px;
  border: 1px solid var(--gp-gray-200);
  border-radius: 14px;
  background: var(--gp-white);
}
.gp-catalog-featured-media {
  flex: 0 0 220px;
  max-width: 220px;
}
.gp-catalog-featured-media img,
.gp-catalog-featured-media .gp-search-thumb-placeholder {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: 10px;
}
.gp-catalog-featured-body {
  flex: 1 1 320px;
  min-width: 0;
}
.gp-catalog-featured-title {
  margin: 8px 0 4px;
  color: var(--gp-heading-color, var(--gp-black));
}
.gp-catalog-featured-brand {
  margin: 0 0 8px;
  color: var(--gp-gray-500);
}
.gp-catalog-featured-desc,
.gp-catalog-featured-inci {
  margin: 10px 0 0;
  line-height: 1.55;
}
.gp-catalog-featured-cta {
  margin: 16px 0 0;
}
/* A mapped field the feed hides from view: kept in the DOM, not shown. */
.gp-field-hidden {
  display: none !important;
}
.gp-catalog-featured-specs {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  line-height: 1.55;
}
.gp-catalog-featured-specs li {
  margin: 2px 0;
}
.gp-catalog-search-subtitle {
  margin: 32px 0 12px;
  font-size: 20px;
  color: var(--gp-heading-color, var(--gp-black));
}
.gp-catalog-search-products-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 32px 0 12px;
}
.gp-catalog-search-products-head .gp-catalog-search-subtitle {
  margin: 0;
}

@media (max-width: 767px) {
  .gp-catalog-featured-media {
    flex-basis: 100%;
    max-width: 100%;
  }
  .gp-catalog-featured-media img,
  .gp-catalog-featured-media .gp-search-thumb-placeholder {
    width: 100%;
    height: 200px;
  }
}

.gp-catalog-search-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gp-catalog-search-result {
  border: 1px solid var(--gp-gray-200);
  border-radius: 12px;
  background: var(--gp-white);
}
.gp-catalog-search-result > a,
.gp-catalog-search-result > .gp-catalog-search-result-nolink {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  color: var(--gp-text-color, var(--gp-primary-dark));
  text-decoration: none;
}
.gp-catalog-search-result:hover {
  border-color: var(--gp-link-color, var(--gp-primary));
}
.gp-catalog-search-thumb {
  flex: 0 0 68px;
}
.gp-catalog-search-thumb img,
.gp-catalog-search-thumb .gp-search-thumb-placeholder {
  display: block;
  width: 68px;
  height: 68px;
  object-fit: contain;
}
.gp-catalog-search-copy {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}
.gp-catalog-search-title {
  color: var(--gp-heading-color, var(--gp-black));
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
.gp-catalog-search-empty {
  padding: 24px;
  border: 1px solid var(--gp-gray-200);
  border-radius: 12px;
  background: var(--gp-white);
}

@media (max-width: 1100px) {
  .gp-loop-grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .gp-loop-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .gp-loop-grid-container {
    grid-template-columns: 1fr;
  }
  .gp-taxonomy-col {
    flex-basis: 100%;
    max-width: 100%;
  }
}

@media (min-width: 961px) and (max-width: 1200px) {
  .gp-taxonomy-col {
    flex-basis: 33.3333%;
    max-width: 33.3333%;
  }
}

@media (max-width: 991px) {
  .gp-product-search {
    max-width: 100%;
  }
  .gp-product-search-modal {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    margin: 0;
    border: 0;
    border-radius: 0;
    overflow-y: auto;
  }
  .gp-product-search-category-wrap {
    display: none;
  }
  .gp-product-search-dropdown {
    padding: 10px;
    top: calc(100% + 6px);
  }
  /* full-screen modal: the modal itself scrolls */
  .gp-product-search-modal .gp-product-search-dropdown {
    max-height: none;
    overflow: visible;
  }
  .gp-search-thumb-wrap {
    flex-basis: 56px;
    max-width: 56px;
  }
  .gp-search-thumb-wrap img,
  .gp-search-thumb-placeholder {
    width: 56px;
    height: 56px;
  }
  .gp-product-search-footer {
    align-items: center;
  }
  .gp-search-missing-product {
    width: auto;
    align-self: center;
  }
}

/* Breadcrumb navigation for archives */
.gp-breadcrumb {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--gp-text-color, var(--gp-black));
}
.gp-breadcrumb a {
  color: var(--gp-link-color, var(--gp-primary));
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.gp-breadcrumb a:hover {
  opacity: 0.75;
}
.gp-breadcrumb-separator {
  color: var(--gp-gray-500);
  font-size: 12px;
}
.gp-breadcrumb-current {
  color: var(--gp-text-color, var(--gp-black));
  font-weight: 500;
}
@media (max-width: 768px) {
  .gp-breadcrumb {
    font-size: 13px;
  }
}

/* Single Template */
.gp-single-post {
  padding: 32px 0;
  color: var(--gp-text-color, var(--gp-black));
}
.gp-post-article {
  background: var(--gp-white);
  border: 1px solid var(--gp-gray-200);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px -8px rgba(0, 0, 0, 0.1);
}
.gp-post-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gp-gray-100);
}
.gp-post-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
  color: var(--gp-heading-color, var(--gp-black));
}
.gp-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--gp-gray-500);
}
.gp-post-meta a {
  color: var(--gp-link-color, var(--gp-primary));
  text-decoration: none;
}
.gp-post-meta a:hover {
  opacity: 0.75;
}
.gp-post-date time {
  font-weight: 500;
}
.gp-post-author::before,
.gp-post-categories::before {
  content: "\2022";
  margin-right: 16px;
  color: var(--gp-gray-200);
}
.gp-post-thumbnail {
  margin-bottom: 24px;
}
.gp-post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.gp-post-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--gp-text-color, var(--gp-black));
}
.gp-post-content h2 {
  font-size: 26px;
  margin: 32px 0 16px;
  color: var(--gp-heading-color, var(--gp-black));
}
.gp-post-content h3 {
  font-size: 22px;
  margin: 28px 0 14px;
  color: var(--gp-heading-color, var(--gp-black));
}
.gp-post-content h4 {
  font-size: 18px;
  margin: 24px 0 12px;
  color: var(--gp-heading-color, var(--gp-black));
}
.gp-post-content p {
  margin: 0 0 18px;
}
.gp-post-content a {
  color: var(--gp-link-color, var(--gp-primary));
  text-decoration: underline;
  text-underline-offset: 2px;
}
.gp-post-content a:hover {
  opacity: 0.75;
}
/* buttons inside an article (Product Card, loops), and the brand and name of a Product Card: no link underline */
.gp-post-content a.gp-btn,
.gp-post-content .gp-product-card-embed .gp-brand-eyebrow a,
.gp-post-content .gp-product-card-embed .gp-title a {
  text-decoration: none;
}
/* Product Card: Read more opens the whole description, already in the page */
.gp-excerpt--toggle .gp-excerpt-full,
.gp-excerpt--toggle.is-open .gp-excerpt-short {
  display: none;
}
.gp-excerpt--toggle.is-open .gp-excerpt-full {
  display: inline;
}
.gp-excerpt-more {
  margin: 0 0 0 4px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gp-link-color, var(--gp-primary));
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.gp-excerpt-more:hover,
.gp-excerpt-more:focus-visible {
  color: var(--gp-link-hover-color, var(--gp-link-color, var(--gp-primary)));
  text-decoration: underline;
}
.gp-post-content ul,
.gp-post-content ol {
  margin: 0 0 18px;
  padding-left: 24px;
}
.gp-post-content li {
  margin-bottom: 8px;
}
.gp-post-content blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  border-left: 4px solid var(--gp-link-color, var(--gp-primary));
  background: var(--gp-gray-50);
  font-style: italic;
  color: var(--gp-gray-500);
}
.gp-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.gp-post-content pre {
  background: var(--gp-gray-800);
  color: var(--gp-gray-50);
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 14px;
  margin: 18px 0;
}
.gp-post-content code {
  background: var(--gp-gray-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.gp-post-content pre code {
  background: transparent;
  padding: 0;
}
.gp-editorial-review-card {
  margin: 0 0 28px;
  padding: 24px;
  background: var(--gp-white);
  border: 1px solid var(--gp-gray-200);
  border-radius: 12px;
  color: var(--gp-text-color, var(--gp-black));
}
.gp-editorial-review-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.gp-editorial-review-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--gp-link-color, var(--gp-primary));
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.gp-editorial-review-card h2,
.gp-post-content .gp-editorial-review-card h2 {
  margin: 0;
  color: var(--gp-heading-color, var(--gp-black));
  font-size: 24px;
  line-height: 1.25;
}
.gp-editorial-review-brand {
  display: block;
  margin-top: 5px;
  color: var(--gp-gray-500);
  font-size: 14px;
  line-height: 1.5;
}
.gp-editorial-review-rating {
  display: flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 3px;
  min-width: 78px;
  padding: 9px 12px;
  background: var(--gp-primary-light-plus);
  border-radius: 10px;
  color: var(--gp-heading-color, var(--gp-black));
  text-align: center;
}
.gp-editorial-review-score {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}
.gp-editorial-review-scale {
  color: var(--gp-gray-500);
  font-size: 13px;
}
.gp-editorial-review-stars {
  position: relative;
  display: inline-block;
  margin-top: 14px;
  font-size: 22px;
  letter-spacing: 2px;
  line-height: 1;
}
.gp-editorial-review-stars-empty {
  color: var(--gp-gray-200);
}
.gp-editorial-review-stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  color: var(--gp-link-color, var(--gp-primary));
  white-space: nowrap;
}
.gp-post-content .gp-editorial-review-verdict,
.gp-editorial-review-verdict {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.65;
}
.gp-editorial-review-meta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--gp-gray-100);
  color: var(--gp-gray-500);
  font-size: 13px;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .gp-editorial-review-card {
    padding: 20px;
  }
  .gp-editorial-review-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }
  .gp-editorial-review-rating {
    align-self: flex-start;
  }
}
.gp-post-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gp-gray-100);
}
.gp-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.gp-tags-label {
  font-weight: 600;
  color: var(--gp-heading-color, var(--gp-black));
  margin-right: 4px;
}
.gp-post-tags a {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gp-gray-100);
  color: var(--gp-text-color, var(--gp-black));
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.gp-post-tags a:hover {
  background: var(--gp-link-color, var(--gp-primary));
  color: var(--gp-white);
}
.gp-post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.gp-nav-previous,
.gp-nav-next {
  background: var(--gp-white);
  border: 1px solid var(--gp-gray-200);
  border-radius: 8px;
  padding: 16px;
}
.gp-nav-next {
  text-align: right;
}
.gp-nav-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gp-gray-500);
  margin-bottom: 4px;
}
.gp-post-navigation a {
  color: var(--gp-heading-color, var(--gp-black));
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  display: block;
}
.gp-post-navigation a:hover {
  color: var(--gp-link-color, var(--gp-primary));
}
.gp-page-links {
  margin: 24px 0;
  padding: 12px 16px;
  background: var(--gp-gray-50);
  border-radius: 8px;
  font-weight: 500;
}
.gp-page-links a {
  display: inline-block;
  padding: 4px 10px;
  margin: 0 4px;
  background: var(--gp-link-color, var(--gp-primary));
  color: var(--gp-white);
  border-radius: 4px;
  text-decoration: none;
}
@media (max-width: 768px) {
  .gp-post-article {
    padding: 20px;
  }
  .gp-post-title {
    font-size: 26px;
  }
  .gp-post-content {
    font-size: 16px;
  }
  .gp-post-meta {
    gap: 8px;
    font-size: 13px;
  }
  .gp-post-author::before,
  .gp-post-categories::before {
    margin-right: 8px;
  }
  .gp-post-navigation {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .gp-nav-next {
    text-align: left;
  }
}

/* Catalog results made only of terms (ingredients/brands): boxed rows with a short
   preview, mirroring the instant-search dropdown instead of a product grid. */
.gp-catalog-term-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 10px;
}

.gp-catalog-term-item {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gp-catalog-term-item::marker {
    content: '';
}

.gp-catalog-term-link {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border: 1px solid var(--gp-gray-200, #e5e7eb);
    border-radius: 12px;
    background: var(--gp-white, #fff);
    text-decoration: none;
    color: inherit;
    transition: border-color .15s ease, box-shadow .15s ease;
}

a.gp-catalog-term-link:hover {
    border-color: var(--gp-primary, #d81b7a);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
    text-decoration: none;
}

.gp-catalog-term-body {
    display: block;
    min-width: 0;
}

.gp-catalog-term-name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    word-break: break-word;
}

.gp-catalog-term-excerpt {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--gp-gray-500, #6b7280);
}

.gp-catalog-term-link .gp-search-type-pill {
    flex: 0 0 auto;
    align-self: center;
}

@media (min-width: 782px) {
    .gp-catalog-term-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 16px;
    }
}

/* Feed Engine: consistent ingredient casing + 2-column catalog results (overridable) */
.gp-ingredient-name,
.gp-glossary-card h2 a,
.gp-catalog-term-name,
.gp-catalog-search-result--ingredient .gp-catalog-search-title,
.gp-catalog-search-result--brand .gp-catalog-search-title {
    text-transform: capitalize;
}
.gp-catalog-search-list,
.gp-catalog-term-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.gp-catalog-search-list > :only-child,
.gp-catalog-term-list > :only-child {
    grid-column: 1 / -1;
}
@media (max-width: 680px) {
    .gp-catalog-search-list,
    .gp-catalog-term-list {
        grid-template-columns: 1fr;
    }
}

/* Ingredient and brand card: "<name> information" with the source fields (label above value, short codes side
   by side, lists on the whole width), then "About <name>" with the editorial text. The catalog page does not set
   --gp-heading-color, so the dark text token is the fallback instead of --gp-primary-dark (fuchsia). */
.gp-catalog-term-details {
    margin: 32px 0 12px;
    padding: 24px;
    border: 1px solid var(--gp-gray-200);
    border-radius: 12px;
    background: var(--gp-white);
}
.gp-catalog-term-details .gp-catalog-term-details-title {
    margin: 0 0 16px;
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.2;
    color: var(--gp-heading-color, var(--gp-text-color, var(--gp-black)));
}
.gp-catalog-term-details .gp-composition-details {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    padding: 4px 16px;
    border-radius: 10px;
    background: var(--gp-gray-50);
}
.gp-catalog-term-details .gp-composition-detail {
    border: 0;
    border-bottom: 1px solid var(--gp-gray-200);
    border-radius: 0;
    background: transparent;
    padding: 14px 0;
}
.gp-catalog-term-details .gp-composition-detail--wide {
    grid-column: 1 / -1;
}
.gp-catalog-term-details .gp-composition-detail:last-child {
    border-bottom: 0;
}
.gp-catalog-term-details .gp-composition-detail h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--gp-gray-500);
}
.gp-catalog-term-details .gp-composition-detail-content p {
    margin: 0;
    font-size: 16px;
    color: var(--gp-text-color, var(--gp-black));
}
.gp-catalog-term-about {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--gp-gray-200);
}
.gp-catalog-term-details > .gp-catalog-term-about:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}
.gp-catalog-term-about-text p {
    margin: 0 0 12px;
    line-height: 1.6;
    color: var(--gp-text-color, var(--gp-black));
}
.gp-catalog-term-about-text p:last-child {
    margin-bottom: 0;
}
@media (max-width: 680px) {
    .gp-catalog-term-details {
        padding: 16px;
    }
    .gp-catalog-term-details .gp-composition-details {
        grid-template-columns: 1fr;
    }
}
.gp-catalog-search-list > :last-child:nth-child(odd),
.gp-catalog-term-list > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

/* Bug 1: style the search taxonomy dropdowns (all selects carry this class; the legacy
   category-only rules left the ingredient/brand/etc selects as unstyled native controls).
   Match the search input and replace the native select chrome with a branded caret. */
.gp-product-search-taxonomy {
  width: 100%;
  height: 48px;
  border: 1px solid var(--gp-search-input-border, var(--gp-gray-200));
  border-radius: var(--gp-search-input-radius, 10px);
  background-color: var(--gp-search-input-bg, var(--gp-white));
  padding: 0 38px 0 14px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--gp-search-input-text, var(--gp-search-text-color, var(--gp-text-color, var(--gp-black))));
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.gp-product-search-taxonomy:hover {
  border-color: var(--gp-search-focus-color, var(--gp-link-color, var(--gp-black)));
}
.gp-product-search-taxonomy:focus {
  outline: none;
  border-color: var(--gp-search-input-focus-border, var(--gp-search-focus-color, var(--gp-search-link-color, var(--gp-link-color, var(--gp-black)))));
  box-shadow: 0 0 0 3px var(--gp-primary-light-plus);
}
.gp-product-search-category-wrap {
  min-width: 0;
}
/* When several dropdowns are active they wrap to a tidy grid rather than squeezing the row. */
.gp-product-search-form .row.g-2 {
  row-gap: 8px;
}


/* Yes/No feature attributes (from feed binary mapping) shown on the product page. */
.gp-features-section {
  margin: 24px 0;
}
.gp-features-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.gp-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--gp-border-color, #e2e2ea);
  border-radius: 999px;
  background: var(--gp-card-bg, #fff);
  font-size: 0.95em;
}
.gp-feature-item .gp-feature-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex: 0 0 auto;
}
.gp-feature-item .gp-feature-label {
  color: var(--gp-heading-color, var(--gp-text-color, var(--gp-black, #1A1A2E)));
  font-weight: 600;
}
.gp-feature-item .gp-feature-state {
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 999px;
  line-height: 1.6;
}
a.gp-feature-label {
  text-decoration: none;
}
a.gp-feature-label:hover,
a.gp-feature-label:focus-visible {
  text-decoration: underline;
}
.gp-feature-info {
  position: relative;
  display: inline-flex;
}
.gp-feature-info-btn {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: var(--gp-gray-500, #6b7280);
  font: italic 700 11px/16px Georgia, serif;
  text-align: center;
  cursor: help;
}
.gp-feature-tip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  z-index: 20;
  width: max-content;
  max-width: 260px;
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--gp-black, #1A1A2E);
  color: var(--gp-white, #fff);
  font-size: 0.85em;
  font-weight: 400;
  line-height: 1.4;
  transform: translateX(-50%);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.15s;
}
.gp-feature-tip a {
  color: inherit;
  text-decoration: underline;
}
/* hover keeps it open while moving onto a link; tap/keyboard use focus */
.gp-feature-info:hover .gp-feature-tip,
.gp-feature-info:focus-within .gp-feature-tip {
  visibility: visible;
  opacity: 1;
}
.gp-feature-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  border: 6px solid transparent;
  border-top-color: var(--gp-black, #1A1A2E);
  transform: translateX(-50%);
}
.gp-feature-info::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: -6px;
  right: -6px;
  height: 10px;
}
.gp-feature-item.gp-feature-yes .gp-feature-state {
  color: #0a6b2d;
  background: rgba(16, 150, 70, 0.12);
}
.gp-feature-item.gp-feature-no .gp-feature-state {
  color: #8a1c1c;
  background: rgba(179, 45, 46, 0.10);
}
.gp-features-section .screen-reader-text,
.gp-review-rating .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* Product details: custom taxonomy + feature chips on the product page. */
.gp-details-section {
  margin: 24px 0;
}
.gp-details-list {
  margin: 0;
  padding: 0;
}
.gp-detail-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--gp-border-color, #ececf2);
}
.gp-detail-row:last-child {
  border-bottom: 0;
}
.gp-detail-label {
  flex: 0 0 160px;
  max-width: 160px;
  margin: 0;
  font-weight: 700;
  color: var(--gp-heading-color, var(--gp-text-color, var(--gp-black, #1A1A2E)));
}
.gp-detail-values {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gp-detail-chip {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--gp-border-color, #e2e2ea);
  border-radius: 999px;
  background: var(--gp-card-bg, #fff);
  color: var(--gp-text-color, #1A1A2E);
  font-size: 0.9em;
  text-decoration: none;
}
a.gp-detail-chip:hover {
  border-color: var(--gp-accent-color, #E91E8C);
  color: var(--gp-accent-color, #E91E8C);
}
@media (max-width: 600px) {
  .gp-detail-label { flex-basis: 100%; max-width: none; }
}


/* Searchable autocomplete facet (taxonomies with many terms, e.g. Ingredients) */
.gp-facet-autocomplete { position: relative; }
.gp-facet-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.gp-facet-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 6px 3px 10px; background: var(--gp-gray-100, #f0f0f1); border: 1px solid var(--gp-gray-300, #dcdcde); border-radius: 14px; font-size: 13px; line-height: 1.4; }
.gp-facet-chip-label { white-space: nowrap; }
.gp-facet-chip-remove { border: 0; background: transparent; cursor: pointer; font-size: 16px; line-height: 1; padding: 0 2px; color: var(--gp-gray-600, #646970); }
.gp-facet-chip-remove:hover { color: var(--gp-error-text, #b32d2e); }
.gp-facet-input-wrap { position: relative; }
.gp-facet-search { width: 100%; box-sizing: border-box; padding: 7px 10px; border: 1px solid var(--gp-gray-300, #dcdcde); border-radius: 6px; font-size: 14px; }
.gp-facet-search:focus { outline: none; border-color: var(--gp-products-primary, #2271b1); box-shadow: 0 0 0 1px var(--gp-products-primary, #2271b1); }
.gp-facet-suggestions { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 2px); margin: 0; padding: 4px; list-style: none; max-height: 260px; overflow-y: auto; background: #fff; border: 1px solid var(--gp-gray-300, #dcdcde); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.gp-facet-suggestion { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 5px; cursor: pointer; font-size: 13px; }
.gp-facet-suggestion:hover { background: var(--gp-gray-50, #f6f7f7); }
.gp-facet-suggestion-count { color: var(--gp-gray-500, #8c8f94); flex: 0 0 auto; }
.gp-facet-suggestion-empty { cursor: default; color: var(--gp-gray-500); }
.gp-facet-suggestion-empty:hover { background: none; }

/* "Read more" loop button: outline version of the CTA, same colours and radius. */
.gp-related-actions .gp-related-more {
  background: transparent !important;
  color: var(--gp-button-bg, var(--gp-black)) !important;
  border: 1px solid var(--gp-button-bg, var(--gp-black)) !important;
}
.gp-related-actions .gp-related-more:hover,
.gp-related-actions .gp-related-more:focus {
  background: var(--gp-button-bg, var(--gp-black)) !important;
  color: var(--gp-button-text-color, var(--gp-white)) !important;
}
/* Product Card block: the product page next to the store button, outlined as in the loops */
.gp-cta .gp-card-view-product {
  margin-left: 8px;
  background: transparent !important;
  color: var(--gp-button-bg, var(--gp-black)) !important;
  border: 1px solid var(--gp-button-bg, var(--gp-black)) !important;
}
.gp-cta .gp-card-view-product:hover,
.gp-cta .gp-card-view-product:focus {
  background: var(--gp-button-bg, var(--gp-black)) !important;
  color: var(--gp-button-text-color, var(--gp-white)) !important;
}
/* Product Card block: offers and variants under the buttons, aligned with the store button */
.gp-product-card-embed .gp-cta .gp-card-offers {
  justify-content: flex-start;
  margin-top: 8px;
}
/* Sort menu of the Product Filters results bar: same look as the filter inputs. */
.gp-product-filters-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.gp-product-filters-sort-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gp-filter-count-color, var(--gp-gray-500));
  white-space: nowrap;
}
.gp-product-filters-sort-select {
  height: 40px;
  min-width: 190px;
  border: 1px solid var(--gp-filter-input-border, var(--gp-gray-200));
  border-radius: var(--gp-filter-input-radius, 8px);
  background-color: var(--gp-filter-input-bg, var(--gp-white));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding: 0 34px 0 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(
    --gp-filter-title-color,
    var(--gp-heading-color, var(--gp-text-color, var(--gp-black)))
  );
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.gp-product-filters-sort-select:focus {
  outline: none;
  border-color: var(--gp-filter-input-focus-border, var(--gp-link-color, var(--gp-primary)));
  background-color: var(--gp-filter-input-focus-bg, var(--gp-filter-input-bg, var(--gp-white)));
}
/* the products per page sit to the left of the sort menu */
.gp-product-filters-per {
  margin-left: auto;
}
.gp-product-filters-per + .gp-product-filters-sort {
  margin-left: 0;
}
.gp-product-filters-per .gp-product-filters-per-select {
  min-width: 130px;
}
@media (max-width: 600px) {
  .gp-product-filters-sort { width: 100%; flex-wrap: wrap; }
  .gp-product-filters-sort-select { flex: 1; min-width: 0; }
}

/* Product name search at the top of the Product Filters sidebar: same look as the inputs. */
.gp-product-filter-search-input {
  width: 100%;
  box-sizing: border-box;
  height: 40px;
  border: 1px solid var(--gp-filter-input-border, var(--gp-gray-200));
  border-radius: var(--gp-filter-input-radius, 8px);
  background: var(--gp-filter-input-bg, var(--gp-white));
  padding: 0 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--gp-filter-input-text, var(--gp-filter-text-color, var(--gp-text-color, var(--gp-primary-dark))));
}
.gp-product-filter-search-input:focus {
  outline: none;
  border-color: var(--gp-filter-input-focus-border, var(--gp-link-color, var(--gp-primary)));
  background: var(--gp-filter-input-focus-bg, var(--gp-filter-input-bg, var(--gp-white)));
}
.gp-product-filter-section--search .gp-product-filter-title label { cursor: pointer; }

/* all offers of a product, like a price comparison */
.gp-offers-section {
  scroll-margin-top: 90px;
}
.gp-offers {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--gp-gray-200);
  border-radius: 12px;
  background: var(--gp-white);
}
.gp-offer {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(140px, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 14px 18px;
  border-top: 1px solid var(--gp-gray-200);
}
.gp-offer:first-child {
  border-top: 0;
}
.gp-offer.is-best {
  background: var(--gp-gray-50);
}
.gp-offer__store {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.gp-offer__logo {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  max-width: 100px;
  max-height: 40px;
  border-radius: 4px;
  object-fit: contain;
}
.gp-offer__variant-image {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gp-gray-200);
  border-radius: 6px;
  background: var(--gp-white);
  object-fit: contain;
}
.gp-offer__logo--text {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  max-width: none;
  max-height: none;
  border: 1px solid var(--gp-gray-200);
  background: var(--gp-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gp-primary-dark);
  font-weight: 700;
}
.gp-offer__name {
  overflow: hidden;
  color: var(--gp-heading-color, var(--gp-black));
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gp-offer__badge {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gp-success-bg);
  color: var(--gp-success-text);
  font-size: 12px;
  font-weight: 600;
}
.gp-offer__details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--gp-gray-500);
  font-size: 13px;
}
.gp-offer__stock {
  color: var(--gp-success-text);
}
.gp-offer__stock.is-out {
  color: var(--gp-error-text);
}
.gp-offer__price {
  color: var(--gp-heading-color, var(--gp-black));
  font-size: 18px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}
.gp-offer__price.is-empty {
  color: var(--gp-gray-500);
  font-size: 13px;
  font-weight: 400;
}
.gp-offer .gp-offer__go {
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .gp-offer {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
  }
  .gp-offer__details {
    grid-column: 1;
  }
  .gp-offer__price {
    grid-column: 2;
    grid-row: 1;
  }
  /* the store name stays whole: it wraps, the Best price badge goes below when there is no room */
  .gp-offer__store {
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .gp-offer__name {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .gp-offer__price.is-empty {
    max-width: 9em;
    white-space: normal;
  }
  .gp-offer .gp-offer__go {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

/* "Edit product" in the admin bar of a real product: same look as "Correct this product" of the catalog pages */
body.single-gp_product #wpadminbar #wp-admin-bar-edit > .ab-item {
  background: var(--gp-admin-accent);
  color: var(--gp-white);
}
body.single-gp_product #wpadminbar #wp-admin-bar-edit:hover > .ab-item,
body.single-gp_product #wpadminbar #wp-admin-bar-edit > .ab-item:focus {
  background: var(--gp-admin-accent);
  color: var(--gp-white);
  filter: brightness(0.92);
}
/* buy button repeated under the title: outlined, the colors of the main button */
.gp-cta-top {
  margin: 8px 0 4px;
}
.gp-btn.gp-btn-outline {
  background: var(--gp-white, #fff);
  color: var(--gp-button-bg, var(--gp-black)) !important;
  border-color: var(--gp-button-bg, var(--gp-black));
}
.gp-btn.gp-btn-outline:hover,
.gp-btn.gp-btn-outline:focus-visible {
  background: var(--gp-button-bg, var(--gp-black));
  color: var(--gp-button-text-color, var(--gp-white)) !important;
}

/* bar fixed at the bottom with the offer of the main button; under the header and the cookie banner */
.gp-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 970;
  background: var(--gp-white, #fff);
  border-top: 1px solid var(--gp-gray-200, #e5e7eb);
  box-shadow: 0 -4px 16px rgb(15 23 42 / 0.08);
  padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.gp-sticky-cta[hidden] {
  display: none;
}
.gp-sticky-cta__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
}
.gp-sticky-cta__img {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--gp-white, #fff);
}
.gp-sticky-cta__info {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.gp-sticky-cta__title {
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.gp-sticky-cta__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  font-size: 14px;
}
.gp-sticky-cta__price {
  font-weight: 700;
}
.gp-sticky-cta__old,
.gp-sticky-cta__size,
.gp-sticky-cta__store {
  color: var(--gp-gray-500);
  font-size: 13px;
}
.gp-sticky-cta .gp-sticky-cta__btn {
  flex: 0 0 auto;
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .gp-sticky-cta {
    padding-top: 8px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
  }
  .gp-sticky-cta__inner {
    gap: 10px;
  }
  .gp-sticky-cta__img {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
  .gp-sticky-cta__title,
  .gp-sticky-cta__meta {
    font-size: 13px;
  }
  .gp-sticky-cta__size,
  .gp-sticky-cta__store {
    display: none;
  }
  .gp-sticky-cta .gp-sticky-cta__btn {
    max-width: 50vw;
    min-height: 44px;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }
}
