/* 4a: dark rounded "Neden fabrikadan?" band — image | body grid inside
   an ink panel floating on the cream page. Custom colors arrive as
   --factory-bg / --factory-fg / --factory-accent from inline style. */

.cc_i1v7oqhf_iabiuYYLL2 .factory-showcase {
  width: 100%;
  padding: 1.25rem 0;
}

/* The 4a design paints this band in ink, so dark is the default. The panel
   colour is merchant-settable though, so when it reads light the component
   adds --on-light and the foreground set below flips. */
.cc_i1v7oqhf_iabiuYYLL2 .factory-showcase__inner {
  --panel-bg: var(--factory-bg, var(--color-text-primary));
  --panel-fg: var(--factory-fg, #EDEAE4);
  --panel-heading: #ffffff;
  --panel-muted: #B9B4A9;
  --panel-stripe-a: #2a2820;
  --panel-stripe-b: #232118;
  max-width: var(--kombos-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 640px) {
  .cc_i1v7oqhf_iabiuYYLL2 .factory-showcase {
    padding-left: clamp(1rem, 3vw, 3rem);
    padding-right: clamp(1rem, 3vw, 3rem);
  }
}

/* ─── Media half ───────────────────────────────────── */

.cc_i1v7oqhf_iabiuYYLL2 .factory-showcase__media {
  position: relative;
  overflow: hidden;
  background: var(--panel-bg);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.cc_i1v7oqhf_iabiuYYLL2 .factory-showcase__img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cc_i1v7oqhf_iabiuYYLL2 .factory-showcase__media:hover .factory-showcase__img {
  transform: scale(1.04);
}

.cc_i1v7oqhf_iabiuYYLL2 .factory-showcase__img-placeholder {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(
    45deg,
    var(--panel-stripe-a) 0 12px,
    var(--panel-stripe-b) 12px 24px
  );
}

/* ─── Body half ────────────────────────────────────── */

.cc_i1v7oqhf_iabiuYYLL2 .factory-showcase__body {
  background: var(--panel-bg);
  color: var(--panel-fg);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  padding: 1.75rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.875rem;
}

.cc_i1v7oqhf_iabiuYYLL2 .factory-showcase__eyebrow {
  font-family: var(--font-label);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--factory-accent, #D98E63);
}

.cc_i1v7oqhf_iabiuYYLL2 .factory-showcase__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--panel-heading);
  text-wrap: balance;
}

.cc_i1v7oqhf_iabiuYYLL2 .factory-showcase__desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--panel-muted);
  text-wrap: pretty;
}

.cc_i1v7oqhf_iabiuYYLL2 .factory-showcase__features {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.cc_i1v7oqhf_iabiuYYLL2 .factory-showcase__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.5;
}

.cc_i1v7oqhf_iabiuYYLL2 .factory-showcase__feature-icon {
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--factory-accent, #D98E63);
  flex: none;
}

.cc_i1v7oqhf_iabiuYYLL2 .factory-showcase__btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.6875rem 1.375rem;
  border-radius: var(--radius-pill);
  background: var(--factory-accent, var(--color-accent));
  color: #ffffff;
  font-family: var(--font-label);
  font-size: var(--text-small);
  font-weight: 600;
  text-decoration: none;
  transition: filter 200ms ease;
}

.cc_i1v7oqhf_iabiuYYLL2 .factory-showcase__btn:hover {
  filter: brightness(1.08);
}

/* ─── Light panel variant ─────────────────────────────
 * A merchant-set light background would swallow the white heading and pale
 * body copy, so those flip to ink/secondary and the media placeholder
 * switches to light stripes.
 */

.cc_i1v7oqhf_iabiuYYLL2 .factory-showcase--on-light .factory-showcase__inner {
  --panel-fg: var(--factory-fg, var(--color-text-primary));
  --panel-heading: var(--factory-fg, var(--color-text-primary));
  --panel-muted: var(--color-text-secondary);
  --panel-stripe-a: var(--color-surface-alt);
  --panel-stripe-b: var(--color-border);
}

/* ─── Desktop: halves side by side in the rounded panel ─── */

@media (min-width: 768px) {
  .cc_i1v7oqhf_iabiuYYLL2 .factory-showcase__inner {
    grid-template-columns: 1fr 1.1fr;
  }

  .cc_i1v7oqhf_iabiuYYLL2 .factory-showcase--media-left .factory-showcase__media {
    order: 0;
    border-radius: var(--radius-card) 0 0 var(--radius-card);
  }

  .cc_i1v7oqhf_iabiuYYLL2 .factory-showcase--media-left .factory-showcase__body {
    order: 1;
    border-radius: 0 var(--radius-card) var(--radius-card) 0;
  }

  .cc_i1v7oqhf_iabiuYYLL2 .factory-showcase--media-right .factory-showcase__media {
    order: 1;
    border-radius: 0 var(--radius-card) var(--radius-card) 0;
  }

  .cc_i1v7oqhf_iabiuYYLL2 .factory-showcase--media-right .factory-showcase__body {
    order: 0;
    border-radius: var(--radius-card) 0 0 var(--radius-card);
  }

  .cc_i1v7oqhf_iabiuYYLL2 .factory-showcase__body {
    padding: 2.5rem 2.75rem;
  }

  .cc_i1v7oqhf_iabiuYYLL2 .factory-showcase__img, .cc_i1v7oqhf_iabiuYYLL2 .factory-showcase__img-placeholder {
    aspect-ratio: auto;
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_i1v7oqhf_iabiuYYLL2 .factory-showcase__img {
    transition: none;
  }

  .cc_i1v7oqhf_iabiuYYLL2 .factory-showcase__media:hover .factory-showcase__img {
    transform: none;
  }
}
