.korbi-pdp__backdrop {
  --page-bg: #f8f9fc;
  --white: #fff;
  --black: #1f1f1f;
  --heading: #1f1f1f;
  --muted: #696969;
  --grey-200: #e8e8e8;
  --grey-300: #cfcfcf;
  --green: #318616;
  --blue: #0057ff;
  --yellow: #f8d149;
  --side-pad: 12px;
  --card-w: 128px;
  --card-gap: 10px;
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  background: rgba(0, 0, 0, 0);
  font-family: var(--font-family);
  color: var(--black);
  letter-spacing: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: none;
  transition: background 300ms ease;
}

.korbi-pdp__backdrop,
.korbi-pdp__backdrop * {
  box-sizing: border-box;
}

a.korbi-pdp__brand-card {
  text-decoration: none;
  color: inherit;
}

.korbi-pdp__backdrop.is-open {
  display: block;
  background: rgba(0, 0, 0, 0.45);
}

.korbi-pdp__skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: korbiShimmer 1.2s ease infinite;
  border-radius: 8px;
}

.korbi-pdp__hero-skeleton {
  width: 78%;
  height: 78%;
}

.korbi-pdp__text-skeleton {
  display: block;
  height: 14px;
}

.korbi-pdp__text-skeleton--title {
  width: min(260px, 80%);
  height: 20px;
}

.korbi-pdp__text-skeleton--short {
  width: 68px;
}

@keyframes korbiShimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.korbi-pdp__deals-scroll::-webkit-scrollbar,
.korbi-pdp__hero-track::-webkit-scrollbar {
  display: none;
}

@keyframes korbiPdpSlideIn {
  from {
    transform: translateY(40px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.korbi-pdp__wrapper {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(96px + env(safe-area-inset-bottom));
  z-index: 10001;
  display: flex;
  flex-direction: column;
  height: min(78dvh, 700px);
  max-height: calc(100dvh - 116px);
  border-radius: 26px;
  background: var(--page-bg);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.26);
  overflow: hidden;
  animation: korbiPdpSlideIn 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: transform, opacity;
  transition:
    left 420ms cubic-bezier(0.22, 1, 0.36, 1),
    right 420ms cubic-bezier(0.22, 1, 0.36, 1),
    bottom 420ms cubic-bezier(0.22, 1, 0.36, 1),
    height 420ms cubic-bezier(0.22, 1, 0.36, 1),
    max-height 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 320ms ease;
}

.korbi-pdp__wrapper.is-no-open-animation,
.korbi-pdp__product-strip.is-no-open-animation {
  animation: none;
}

.korbi-pdp__wrapper.is-expanded {
  left: 0;
  right: 0;
  bottom: 0;
  height: 100dvh;
  max-height: 100dvh;
  border-radius: 0;
  box-shadow: none;
}

.korbi-pdp__wrapper.is-dragging {
  transition: none !important;
}

.korbi-pdp__page {
  flex: 1;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
  background: var(--page-bg);
}

.korbi-pdp__wrapper.is-expanded .korbi-pdp__page {
  overflow-y: auto;
}

.korbi-pdp__wrapper.is-expanded .korbi-pdp__hero {
  border-radius: 0;
}

.korbi-pdp__wrapper.is-collapsed .korbi-pdp__hero {
  border-radius: 26px 26px 0 0;
}

.korbi-pdp__page.is-expanded::-webkit-scrollbar {
  display: none;
}

.korbi-pdp__hero {
  position: relative;
  width: 100%;
  background: var(--white);
  overflow: hidden;
}

.korbi-pdp__hero-track {
  display: flex;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.korbi-pdp__wrapper.is-collapsed .korbi-pdp__hero-track {
  overflow: hidden;
  scroll-snap-type: none;
  pointer-events: none;
}

.korbi-pdp__wrapper.is-expanded .korbi-pdp__hero-track {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  pointer-events: auto;
}

.korbi-pdp__hero-slide {
  width: 100%;
  min-width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  background: var(--white);
  overflow: hidden;
}

.korbi-pdp__hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.korbi-pdp__hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 18;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}

.korbi-pdp__hero-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(31, 31, 31, 0.22);
}

.korbi-pdp__hero-dots span.active {
  width: 18px;
  background: var(--green);
}

.korbi-pdp__info-shell {
  width: 100%;
  background: var(--page-bg);
  padding: 0 var(--side-pad);
}

.korbi-pdp__title-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  background: var(--white);
  padding: 8px 12px 4px;
  border-top-right-radius: 12px;
}

.korbi-pdp__title {
  margin: 0;
  font-size: 17px;
  line-height: 22px;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: 0;
}

.korbi-pdp__rating-in-info {
  background: var(--white);
  padding: 4px 12px 0;
}

.korbi-pdp__rating-row {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 14px;
}

.korbi-pdp__rating-star {
  font-size: 12px;
  line-height: 14px;
  font-weight: 700;
  color: #318616;
}

.korbi-pdp__rating-score {
  font-size: 11px;
  line-height: 14px;
  font-weight: 600;
  color: #318616;
  letter-spacing: -0.18px;
}

.korbi-pdp__rating-count {
  font-size: 11px;
  line-height: 14px;
  font-weight: 500;
  color: rgba(2, 6, 12, 0.52);
  letter-spacing: -0.18px;
}

.korbi-pdp__divider-pad {
  background: var(--white);
  padding: 0 12px;
}

.korbi-pdp__divider {
  height: 1px;
  background: #f2f2f2;
}

.korbi-pdp__weight-label {
  background: var(--white);
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.32px;
  padding: 2px 12px 6px;
}

.korbi-pdp__desc-section {
  background: var(--white);
  border-radius: 0 0 6px 6px;
}

.korbi-pdp__desc-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  padding: 8px 12px 14px;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  cursor: pointer;
}

.korbi-pdp__desc-toggle svg {
  width: 11px;
  height: 11px;
  transition: transform 320ms ease;
}

.korbi-pdp__desc-toggle.is-open svg {
  transform: rotate(180deg);
}

.korbi-pdp__desc-content {
  padding: 0 12px;
  font-size: 13px;
  line-height: 19px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.2px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 320ms ease, padding 320ms ease;
}

.korbi-pdp__desc-toggle.is-open + .korbi-pdp__desc-content {
  padding: 0 12px 14px;
}

.korbi-pdp__desc-content p {
  margin: 0 0 8px;
}

.korbi-pdp__desc-content p:last-child {
  margin-bottom: 0;
}

.korbi-pdp__brand-section.is-empty,
.korbi-pdp__product-section.is-empty,
.korbi-pdp__product-strip.is-empty,
.korbi-pdp__desc-section.is-empty {
  display: none;
}

.korbi-pdp__brand-section {
  padding: 12px var(--side-pad) 0;
  background: var(--page-bg);
}

.korbi-pdp__brand-card {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.korbi-pdp__brand-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.korbi-pdp__brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 0.75px solid #e8eaf5;
  background: var(--white);
  overflow: hidden;
  flex-shrink: 0;
}

.korbi-pdp__brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.korbi-pdp__brand-name {
  font-size: 16px;
  line-height: 18px;
  font-weight: 700;
  color: var(--heading);
}

.korbi-pdp__brand-sub {
  margin-top: 2px;
  font-size: 12px;
  line-height: 15px;
  font-weight: 500;
  color: var(--muted);
}

.korbi-pdp__chevron {
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--muted);
  border-right: 2px solid var(--muted);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.korbi-pdp__product-section {
  width: 100%;
  padding-top: 12px;
  background: var(--page-bg);
  overflow: hidden;
}

.korbi-pdp__section-card-head {
  margin: 0 var(--side-pad);
  padding: 14px 12px 3px;
  border-radius: 12px 12px 0 0;
  background: var(--white);
}

.korbi-pdp__section-card-title {
  margin: 0;
  font-size: 18px;
  line-height: 22px;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: 0;
}

.korbi-pdp__section-carousel-shell {
  margin: 0 var(--side-pad);
  background: var(--white);
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

.korbi-pdp__deals-scroll {
  display: flex;
  gap: var(--card-gap);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 10px 6px 12px;
}

.korbi-pdp__product-card-slot {
  flex: 0 0 var(--card-w);
  width: var(--card-w);
  min-width: var(--card-w);
  overflow: visible;
}

.korbi-pdp__see-products-card {
  margin: 0 var(--side-pad);
  padding: 0 12px 12px;
  border-radius: 0 0 8px 8px;
  background: var(--white);
}

.korbi-pdp__see-products-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px;
  border-radius: 8px;
  border: 0.5px solid var(--grey-200);
  background: #f2f4f7;
}

.korbi-pdp__tiny-stack {
  display: flex;
  margin-left: 8px;
}

.korbi-pdp__tiny-stack img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--grey-200);
  background: var(--white);
  object-fit: contain;
  margin-left: -8px;
}

.korbi-pdp__see-products-text {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #3c4886;
  font-size: 13px;
  line-height: 17px;
  font-weight: 700;
}

.korbi-pdp__see-products-text::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.korbi-pdp__sticky-cart {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  background: var(--white);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow:
    rgba(0, 0, 0, 0.1) 0 -4px 6px -1px,
    rgba(0, 0, 0, 0.1) 0 -2px 4px -2px;
  border-radius: 0 0 26px 26px;
  overflow: hidden;
}

.korbi-pdp__wrapper.is-expanded .korbi-pdp__sticky-cart {
  border-radius: 0;
}

.korbi-pdp__sticky-cart-inner {
  width: 100%;
  padding: 12px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.korbi-pdp__sticky-cart-left {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.korbi-pdp__sticky-weight {
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: 0;
}

.korbi-pdp__sticky-price-row {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.korbi-pdp__sticky-price {
  font-size: 16px;
  line-height: 19px;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: 0;
}

.korbi-pdp__sticky-mrp {
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.korbi-pdp__sticky-mrp span {
  text-decoration: line-through;
}

.korbi-pdp__sticky-offer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 5px;
  border-radius: 4px;
  background: linear-gradient(0deg, #dbe8ff 0%, #dbe8ff 100%);
  color: #256fef;
  font-size: 10px;
  line-height: 12px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.korbi-pdp__sticky-cart-button,
.korbi-pdp__sticky-qty-control {
  min-width: 120px;
  height: 45px;
  padding: 4px 10px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 20px;
  font-weight: 800;
  letter-spacing: 0;
  flex-shrink: 0;
}

.korbi-pdp__sticky-cart-button {
  display: flex;
}

.korbi-pdp__sticky-cart-button:disabled {
  opacity: 0.5;
}

.korbi-pdp__sticky-qty-control {
  display: none;
  overflow: hidden;
}

.korbi-pdp__sticky-qty-control.is-active {
  display: flex;
}

.korbi-pdp__sticky-cart-button.is-hidden {
  display: none;
}

.korbi-pdp__sticky-cart-button.is-error,
.korbi-pdp__sticky-qty-control.is-error {
  border-color: var(--c-accent-text);
}

.korbi-pdp__qty-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.korbi-pdp__qty-btn {
  width: 34px;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--white);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
}

.korbi-pdp__qty-btn::before,
.korbi-pdp__qty-btn.plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 2.4px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.korbi-pdp__qty-btn.plus::after {
  width: 2.4px;
  height: 13px;
}

.korbi-pdp__qty-value {
  min-width: 22px;
  text-align: center;
  color: var(--white);
  font-size: 16px;
  line-height: 20px;
  font-weight: 800;
}

.korbi-pdp__product-strip {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 9999;
  height: 80px;
  overflow: visible;
  pointer-events: auto;
  animation: korbiPdpSlideIn 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: opacity 300ms ease;
  will-change: opacity;
}

.korbi-pdp__product-strip.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.korbi-pdp__strip-ring {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 72px;
  height: 72px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 2px solid rgba(248, 203, 70, 0.95);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.42);
  pointer-events: none;
  z-index: 2;
}

.korbi-pdp__product-strip-inner {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  will-change: transform;
  pointer-events: auto;
}

.korbi-pdp__product-dot {
  position: absolute;
  bottom: 0;
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: width, height, transform, opacity;
}

.korbi-pdp__product-dot img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.16);
}

@media (min-width: 710px) {
  .korbi-pdp__wrapper,
  .korbi-pdp__wrapper.is-expanded {
    width: 390px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

@media (max-width: 340px) {
  .korbi-pdp__backdrop {
    --card-w: 120px;
  }

  .korbi-pdp__wrapper {
    left: 12px;
    right: 12px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    height: min(77dvh, 660px);
  }

  .korbi-pdp__title {
    font-size: 16px;
    line-height: 21px;
  }
}

/* =========================================================================
 * Zone 1: Badges, Origin, Brand-line (inside info-shell)
 * ========================================================================= */

.korbi-pdp__badges-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px 4px;
}

.korbi-pdp__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  white-space: nowrap;
}

.korbi-pdp__badge svg {
  flex-shrink: 0;
}

.korbi-pdp__badge--positive {
  background: #e8f5e9;
  color: #2e7d32;
}

.korbi-pdp__badge--sans {
  background: #fff3e0;
  color: #e65100;
}

.korbi-pdp__origin-line {
  padding: 4px 12px 2px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  line-height: 18px;
}

.korbi-pdp__brand-line {
  padding: 2px 12px 4px;
  font-size: 12.5px;
  line-height: 18px;
}

.korbi-pdp__brand-line-main {
  font-weight: 700;
  color: var(--heading);
}

.korbi-pdp__brand-line-sub {
  font-weight: 400;
  color: var(--muted);
}

.korbi-pdp__badges-strip.is-empty,
.korbi-pdp__origin-line.is-empty,
.korbi-pdp__brand-line.is-empty {
  display: none;
}

/* =========================================================================
 * Zone 2: Nutriscore & Specs grid
 * ========================================================================= */

.korbi-pdp__nutriscore-section {
  background: var(--white);
  border-radius: 12px;
  padding: 14px var(--side-pad) 16px;
  margin-top: 8px;
}

.korbi-pdp__nutriscore-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 10px;
}

.korbi-pdp__nutriscore-bar {
  display: flex;
  gap: 3px;
  border-radius: 8px;
  overflow: hidden;
}

.korbi-pdp__nutriscore-cell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ns-color);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 0;
  opacity: 0.35;
  transition: opacity 200ms ease, transform 200ms ease;
}

.korbi-pdp__nutriscore-cell.is-active {
  opacity: 1;
  transform: scaleY(1.3);
  border-radius: 4px;
  font-size: 14px;
  padding: 7px 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.korbi-pdp__specs-section {
  background: var(--white);
  border-radius: 12px;
  padding: 14px var(--side-pad) 16px;
  margin-top: 8px;
}

.korbi-pdp__specs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.korbi-pdp__spec-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #f2f4f7;
  border-radius: 8px;
  padding: 8px 12px;
  min-width: 0;
}

.korbi-pdp__spec-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.korbi-pdp__spec-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
}

.korbi-pdp__nutriscore-section.is-empty,
.korbi-pdp__specs-section.is-empty {
  display: none;
}

/* =========================================================================
 * Zone 3: Nutrition table
 * ========================================================================= */

.korbi-pdp__nutrition-section {
  background: var(--white);
  border-radius: 12px;
  padding: 14px var(--side-pad) 10px;
  margin-top: 8px;
}

.korbi-pdp__nutrition-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 10px;
}

.korbi-pdp__nutrition-per {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}

.korbi-pdp__nutrition-table {
  border-radius: 8px;
  overflow: hidden;
}

.korbi-pdp__nutrition-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  font-size: 12.5px;
  line-height: 18px;
}

.korbi-pdp__nutrition-row--even {
  background: #f8f9fc;
}

.korbi-pdp__nutrition-row--indent {
  padding-left: 22px;
}

.korbi-pdp__nutrition-row--indent .korbi-pdp__nutrition-label {
  font-weight: 400;
  color: var(--muted);
}

.korbi-pdp__nutrition-label {
  font-weight: 500;
  color: var(--heading);
  flex: 1;
  min-width: 0;
}

.korbi-pdp__nutrition-value {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--heading);
  white-space: nowrap;
}

.korbi-pdp__nutrition-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.korbi-pdp__nutrition-dot--green {
  background: #4caf50;
}

.korbi-pdp__nutrition-dot--amber {
  background: #ff9800;
}

.korbi-pdp__nutrition-dot--red {
  background: #f44336;
}

.korbi-pdp__nutrition-section.is-empty {
  display: none;
}

/* =========================================================================
 * Zone 4: Accordion sections
 * ========================================================================= */

.korbi-pdp__accordions-section {
  margin-top: 8px;
}

.korbi-pdp__accordion {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
}

.korbi-pdp__accordion-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px var(--side-pad);
  border: 0;
  background: transparent;
  color: var(--heading);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.korbi-pdp__accordion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
}

.korbi-pdp__accordion-icon svg {
  width: 18px;
  height: 18px;
}

.korbi-pdp__accordion-title {
  flex: 1;
  min-width: 0;
}

.korbi-pdp__accordion-chevron {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 320ms ease;
}

.korbi-pdp__accordion-toggle.is-open .korbi-pdp__accordion-chevron {
  transform: rotate(180deg);
}

.korbi-pdp__accordion-content {
  padding: 0 var(--side-pad);
  font-size: 13px;
  line-height: 19px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.2px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 320ms ease, padding 320ms ease;
}

.korbi-pdp__accordion-toggle.is-open + .korbi-pdp__accordion-content {
  padding: 0 var(--side-pad) 14px;
}

.korbi-pdp__accordion-content p {
  margin: 0 0 8px;
}

.korbi-pdp__accordion-content p:last-child {
  margin-bottom: 0;
}

.korbi-pdp__accordion-content strong {
  color: var(--heading);
  font-weight: 700;
}

/* Allergen tags */
.korbi-pdp__allergen-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.korbi-pdp__allergen-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.korbi-pdp__allergen-group-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--heading);
  margin-right: 2px;
}

.korbi-pdp__allergen-tag {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  white-space: nowrap;
}

.korbi-pdp__allergen-tag--contains {
  background: #ffebee;
  color: #c62828;
}

.korbi-pdp__allergen-tag--traces {
  background: #fff3e0;
  color: #e65100;
}

.korbi-pdp__accordions-section.is-empty,
.korbi-pdp__accordion.is-empty {
  display: none;
}
