.plk {
  --bg-page: #fdfdfd;
  --bg-surface: #faf9f7;
  --bg-card: #f4f3f0;
  --border-light: #e4e4e7;
  --border-warm: #ebe6e0;
  --ink-dark: #1a1a1a;
  --ink-body: #3f3f46;
  --ink-muted: #71717a;
  --brand-accent: #b6a291;
  --brand-accent-dark: #755e4b;
  --wa-green: #12784a;
  --wa-green-hover: #0e633c;
  --shadow-page: 0 14px 34px -16px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03);
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  position: relative;
  z-index: 1;
  isolation: isolate;
  font-family: var(--font-sans);
  color: var(--ink-dark);
  -webkit-font-smoothing: antialiased;
  text-align: left;
  line-height: normal;
}

.plk sup {
  vertical-align: super;
  position: static;
  line-height: 0;
}

.plk button {
  font-family: var(--font-sans);
}

.plk img {
  max-width: 100%;
}

/* TOOLBAR: SIZE BADGE + PAGE TABS + SEARCH */
.plk .divider-tabs-bar {
  position: relative;
  z-index: 100;
  padding: 0.55rem 0;
  border-bottom: 1px solid #e4e4e7;
  margin-bottom: 1.25rem;
}

.plk .divider-tabs-bar:focus-within {
  z-index: 105;
}

.plk .divider-tabs-inner {
  display: flex;
  align-items: center;
  gap: 0.42rem;
}

.plk .plk-size-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #f4f1ec;
  border: 1px solid var(--border-warm);
  border-radius: 9999px;
  padding: 2px;
  flex-shrink: 0;
}

.plk .plk-size-btn {
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.34rem 0.62rem;
  border-radius: 9999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.plk .plk-size-btn:hover {
  color: var(--ink-dark);
}

.plk .plk-size-btn.is-active {
  background: var(--ink-dark);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}

@media (min-width: 768px) {
  .plk .plk-size-btn {
    font-size: 11px;
    padding: 0.38rem 0.68rem;
  }
}

.plk .page-tabs {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.32rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1 1 auto;
  min-width: 0;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}

.plk .page-tabs::-webkit-scrollbar {
  display: none;
}

.plk .page-tab-btn {
  padding: 0.38rem 0.68rem;
  border-radius: 9999px;
  font-size: 11.5px;
  line-height: 1.25;
  font-weight: 600;
  border: 1px solid #e4e4e7;
  background: #ffffff;
  color: #3f3f46;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
}

@media (min-width: 768px) {
  .plk .page-tab-btn {
    padding: 0.40rem 0.64rem;
    font-size: 11.8px;
  }
}

.plk .page-tab-btn:hover {
  border-color: #755e4b;
  color: #1a1a1a;
}

.plk .page-tab-btn.is-active {
  background: #2b2b2b;
  color: #ffffff;
  border-color: #2b2b2b;
}

/* SEARCH BOX */
.plk .search-box {
  position: relative;
  width: 180px;
  flex-shrink: 0;
  margin-left: auto;
}

.plk .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--ink-muted);
  pointer-events: none;
}

.plk .plk-search-input {
  width: 100%;
  padding: 7px 12px 7px 34px;
  border-radius: 9999px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--ink-dark);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.plk .plk-search-input:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(182, 162, 145, 0.18);
}

.plk .search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--border-warm);
  box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.14);
  z-index: 300;
  padding: 6px;
}

.plk .search-item {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 0.65rem;
  cursor: pointer;
  text-align: left;
}

.plk .search-item:hover {
  background: var(--bg-surface);
}

.plk .search-item-chip {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.plk .search-item-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.plk .search-item-info strong {
  font-size: 12px;
  color: var(--ink-dark);
}

.plk .search-item-info span {
  font-size: 11px;
  color: var(--ink-muted);
}

/* STAGE & BINDER */
.plk .stage-root {
  margin: 0;
  padding: 0;
}

.plk .binder-stage {
  position: relative;
  z-index: 60;
  overflow: visible;
  padding-top: 8px;
}

.plk .binder-wrapper {
  overflow: visible;
}

.plk .binder-spread {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 1.05fr) 34px minmax(420px, 1fr);
  align-items: stretch;
  overflow: visible;
}

.plk .kartela-page {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-warm);
  box-shadow: var(--shadow-page);
}

.plk .page-left {
  border-radius: 1.5rem 0.5rem 0.5rem 1.5rem;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--bg-surface);
}

.plk .page-right {
  border-radius: 0.5rem 1.5rem 1.5rem 0.5rem;
  padding: 20px 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: visible;
  background: #f5f5f3;
}

/* SUBTLE RING-BINDER SPINE */
.plk .binder-rings {
  align-self: stretch;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 64px 0;
  z-index: 20;
  pointer-events: none;
}

.plk .binder-ring {
  position: relative;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plk .ring-loop {
  width: 54px;
  height: 12px;
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    #b7b2ab 0%,
    #f9f8f6 28%,
    #dad6cf 54%,
    #8d877f 84%,
    #c9c4bc 100%
  );
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.16),
    inset 0 1px 1px rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(117, 94, 75, 0.28);
}

.plk .ring-base {
  position: absolute;
  width: 6px;
  height: 22px;
  background: linear-gradient(90deg, #b8b3ac, #f2f0ec, #aba59e);
  border-radius: 3px;
  z-index: -1;
}

/* LEFT PAGE FULL-BLEED ROOM PREVIEW */
.plk .page-left-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.plk .room-preview-card {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border-warm);
  border-radius: 1rem;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.plk .room-photo-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  margin: auto 0;
  border-radius: 0.75rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  --win-top: 7.4%;
  --win-left: 22.3%;
  --win-right: 86.5%;
  --win-bottom: 88.2%;
  --win-width: 64.2%;
  --win-height: 80.8%;
}

.plk .room-photo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Inner window overlay hosting HiDPI WebGL 3D accordion canvas + rails + cords */
.plk .room-window-overlay {
  position: absolute;
  top: var(--win-top);
  left: var(--win-left);
  width: var(--win-width);
  height: var(--win-height);
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}

/* Blurred glass layer ONLY for opaque Güneşlik (never for transparent Tül!) */
.plk .room-blind-glass-frost {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--blind-height, 72%);
  z-index: 2;
  pointer-events: none;
  opacity: var(--frost-opacity, 0);
  -webkit-backdrop-filter: blur(2.8px) brightness(1.06);
  backdrop-filter: blur(2.8px) brightness(1.06);
}

/* HiDPI WebGL / Canvas2D 3D UV-mapped accordion surface */
.plk .plk-blind-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 3;
  pointer-events: none;
}

.plk .room-blind-rail-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5.5px;
  background:
    radial-gradient(circle at 17% 65%, rgba(55, 52, 48, 0.45) 0 1.3px, transparent 2px),
    radial-gradient(circle at 83% 65%, rgba(55, 52, 48, 0.45) 0 1.3px, transparent 2px),
    linear-gradient(180deg, #faf9f6 0%, #e7e4de 52%, #cbc7bf 88%, #8f8a82 100%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
  filter: brightness(calc(1 - var(--blind-front-dim, 0) * 0.90));
  z-index: 5;
}

.plk .room-blind-rail-bottom {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--blind-height, 72%) - 4.5px);
  height: 4.5px;
  background:
    radial-gradient(circle at 17% 35%, rgba(55, 52, 48, 0.4) 0 1.2px, transparent 2px),
    radial-gradient(circle at 83% 35%, rgba(55, 52, 48, 0.4) 0 1.2px, transparent 2px),
    linear-gradient(180deg, #f3f1ec 0%, #dcd8d0 55%, #a8a39b 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.26);
  filter: brightness(calc(1 - var(--blind-front-dim, 0) * 0.90));
  z-index: 5;
}

.plk .room-blind-grip {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 12px;
  height: 3px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-top: 0;
  border-radius: 0 0 2px 2px;
}

/* Ambient interior darkening (subtle for Güneşlik, near zero for Tül, pitch dark on closed Blackout) */
.plk .room-ambient-shade {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  clip-path: polygon(
    evenodd,
    0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%,
    var(--win-left) var(--win-top),
    var(--win-right) var(--win-top),
    var(--win-right) var(--win-bottom),
    var(--win-left) var(--win-bottom),
    var(--win-left) var(--win-top)
  );
  background: radial-gradient(
    ellipse 58% 48% at 54% 78%,
    rgba(6, 7, 9, calc(var(--room-dim, 0) * (0.76 + var(--blind-cover, 0.72) * 0.24))) 0%,
    rgba(6, 7, 9, var(--room-dim, 0)) 68%,
    rgba(4, 5, 7, min(0.98, calc(var(--room-dim, 0) * 1.08))) 100%
  );
}

.plk .room-photo-stage.is-blackout .room-ambient-shade {
  background: radial-gradient(
    ellipse 58% 48% at 54% 78%,
    rgba(2, 3, 5, calc(var(--room-dim, 0) * (0.88 + var(--blind-cover, 0.72) * 0.12))) 0%,
    rgba(2, 3, 5, var(--room-dim, 0)) 68%,
    rgba(1, 2, 3, min(0.985, calc(var(--room-dim, 0) * 1.05))) 100%
  );
}

.plk .room-pull-layer {
  position: absolute;
  top: var(--win-top);
  left: var(--win-left);
  width: var(--win-width);
  height: var(--win-height);
  z-index: 6;
  pointer-events: auto;
  cursor: ns-resize;
  touch-action: none;
  user-select: none;
  outline: none;
}

.plk .room-pull-handle {
  position: absolute;
  left: 50%;
  top: clamp(16px, var(--blind-height, 72%), calc(100% - 14px));
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid var(--brand-accent);
  color: var(--ink-dark);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  pointer-events: none;
}

.plk .room-pull-layer:hover .room-pull-handle,
.plk .room-pull-layer:focus-visible .room-pull-handle,
.plk .room-photo-stage.is-dragging-blind .room-pull-handle {
  border-color: var(--brand-accent-dark);
  background: #ffffff;
  transform: translate(-50%, -50%) scale(1.06);
}

.plk .room-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.plk .selected-swatch-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.plk .selected-swatch-chip {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.plk .selected-swatch-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.plk .selected-swatch-meta strong {
  font-size: 13px;
  color: var(--ink-dark);
}

.plk .selected-swatch-meta span {
  font-size: 11px;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.plk .room-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.plk .wa-ask-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--wa-green);
  color: #ffffff;
  text-decoration: none;
  padding: 6px 13px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.plk .wa-ask-btn:hover {
  background: var(--wa-green-hover);
}

/* RIGHT SWATCH PAGE */
.plk .page-right-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-warm);
  position: relative;
  z-index: 2;
}

.plk .page-right-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}

.plk .page-right-title span {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--ink-dark);
}

.plk .page-right-title small {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-muted);
}

.plk .page-sub-pager {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: 1px solid var(--border-warm);
  border-radius: 9999px;
  padding: 3px;
  flex-shrink: 0;
}

.plk .page-sub-pager[hidden] {
  display: none;
}

.plk .page-sub-btn {
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.plk .page-sub-btn:hover {
  color: var(--ink-dark);
}

.plk .page-sub-btn.is-active {
  background: var(--ink-dark);
  color: #ffffff;
}

.plk .swatch-grid {
  position: relative;
  flex: 1;
  overflow: visible;
  z-index: 3;
}

/* 18-swatch 3-col x 6-row layout (matching real Plicell 15mm Parrot pages) */
.plk .swatch-grid--18 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(6, 78px);
  grid-auto-flow: column;
  column-gap: 16px;
  row-gap: 12px;
  padding: 6px 2px;
}

/* Multi-series sheet layout (grouped sub-sections on 1 binder page) */
.plk .swatch-grid--grouped {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 2px;
}

.plk .swatch-sub-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px dashed #d6d2cb;
  flex-wrap: wrap;
}

.plk .swatch-sub-head strong {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-dark);
}

.plk .swatch-sub-head span {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-muted);
}

.plk .swatch-sub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 12px;
}

.plk .swatch-sub-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plk .swatch-sub-grid--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plk .swatch-slot.is-featured-wide {
  grid-column: 1 / -1;
  width: min(100%, 74%);
  justify-self: center;
}

/* AUTHENTIC PLICELL 15mm DIE-CUT MATTE CHARCOAL EAR TAB & 15mm ACCORDION PLEATS */
.plk .swatch-slot {
  position: relative;
  height: 78px;
  z-index: 1;
  overflow: visible;
}

.plk .swatch-slot.is-open,
.plk .swatch-slot.is-dragging {
  z-index: 95;
}

.plk .swatch-unit {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transform-origin: center bottom;
  transition: transform 0.35s cubic-bezier(0.22, 1.12, 0.36, 1);
  --open-progress: 0;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
}

.plk .swatch-slot.is-dragging .swatch-unit {
  transition: none;
}

.plk .swatch-slot.is-open .swatch-unit {
  --open-progress: 1;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.plk .swatch-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  z-index: 4;
  transition: filter 0.2s ease;
}

.plk .swatch-slot.is-dragging .swatch-header {
  cursor: grabbing;
}

.plk .swatch-tab-ear {
  width: 58px;
  height: 22px;
  background: linear-gradient(180deg, #656a70 0%, #54585d 68%, #474b4f 100%);
  border: 1px solid rgba(0, 0, 0, 0.24);
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.14);
}

.plk .ear-plicell {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #e6e8ea;
  line-height: 1;
}

.plk .ear-plicell sup {
  font-size: 0.55em;
}

.plk .swatch-top-fold {
  width: calc(100% - var(--open-progress) * 1.8%);
  align-self: flex-start;
  height: 26px;
  background-color: var(--swatch-base);
  background-image:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.02) 40%,
      rgba(0, 0, 0, 0.06) 86%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    var(--swatch-tex);
  background-size: 100% 100%, var(--swatch-tex-size, 110px auto);
  background-repeat: no-repeat, repeat;
  background-blend-mode: normal, multiply;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14);
  transition: width 0.42s cubic-bezier(0.22, 1.12, 0.36, 1), box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.plk .swatch-slot.is-dragging .swatch-top-fold {
  transition: none;
}

.plk .swatch-slot[data-blend="normal"] .swatch-top-fold {
  background-blend-mode: normal, normal;
  background-size: 100% 100%, var(--swatch-tex-size, 150px auto);
}

/* Open-mesh Tül & Lattice Printed translucent substrate layer */
.plk .swatch-slot.is-sheer-lattice-print .swatch-top-fold::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("resimler/plicell/kartela/hires/sheer-lattice.webp");
  background-size: 56px auto;
  background-repeat: repeat;
  opacity: 0.34;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.plk .swatch-slot.is-sheer .swatch-top-fold {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 2px 4px rgba(0, 0, 0, 0.12);
}

.plk .swatch-header:hover .swatch-top-fold {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 15mm Folded Stack & Unfolding Accordion Pleats */
.plk .swatch-accordion {
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 3;
  background-color: transparent;
  filter:
    drop-shadow(0 2px 2px rgba(0, 0, 0, 0.18))
    drop-shadow(0 calc(var(--open-progress) * 10px) calc(var(--open-progress) * 14px) rgba(28, 22, 16, calc(0.06 + var(--open-progress) * 0.24)));
  transition: filter 0.4s cubic-bezier(0.22, 1.12, 0.36, 1);
}

.plk .swatch-slot.is-dragging .swatch-accordion {
  transition: none;
}

.plk .pleat {
  position: relative;
  height: calc(1.5px + var(--open-progress) * 15px);
  background-color: var(--swatch-base);
  background-image:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, calc(0.10 + var(--open-progress) * 0.08)) 0%,
      rgba(255, 255, 255, 0.02) 84%,
      rgba(0, 0, 0, 0.16) 100%
    ),
    var(--swatch-tex);
  background-size: 100% 100%, var(--swatch-tex-size, 110px auto);
  background-repeat: no-repeat, repeat;
  background-blend-mode: normal, multiply;
  transition: height 0.42s cubic-bezier(0.22, 1.12, 0.36, 1), clip-path 0.42s cubic-bezier(0.22, 1.12, 0.36, 1);
  overflow: hidden;
  clip-path: polygon(0% 0%, calc(100% - var(--open-progress) * 1.8%) 0%, 100% 100%, calc(var(--open-progress) * 1.8%) 100%);
}

.plk .pleat + .pleat {
  margin-top: calc(var(--open-progress) * -0.5px);
}

.plk .swatch-slot[data-blend="normal"] .pleat {
  background-blend-mode: normal, normal;
  background-size: 100% 100%, var(--swatch-tex-size, 150px auto);
}

.plk .swatch-slot.is-sheer .swatch-accordion {
  background-color: transparent;
}

.plk .swatch-slot.is-sheer-lattice-print .pleat::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("resimler/plicell/kartela/hires/sheer-lattice.webp");
  background-size: 56px auto;
  background-repeat: repeat;
  opacity: 0.36;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.plk .swatch-slot.is-dragging .pleat {
  transition: none;
}

.plk .pleat::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: rgba(255, 255, 255, calc(0.22 + var(--open-progress) * 0.28));
  pointer-events: none;
}

.plk .pleat:nth-child(even) {
  clip-path: polygon(calc(var(--open-progress) * 1.8%) 0%, 100% 0%, calc(100% - var(--open-progress) * 1.8%) 100%, 0% 100%);
  background-image:
    linear-gradient(
      180deg,
      rgba(16, 13, 10, calc(0.14 + var(--open-progress) * 0.18)) 0%,
      rgba(12, 10, 8, calc(0.22 + var(--open-progress) * 0.22)) 88%,
      rgba(0, 0, 0, calc(0.32 + var(--open-progress) * 0.26)) 100%
    ),
    var(--swatch-tex);
  box-shadow:
    inset 4px 0 6px rgba(0, 0, 0, calc(var(--open-progress) * 0.18)),
    inset -4px 0 6px rgba(0, 0, 0, calc(var(--open-progress) * 0.16));
}

.plk .pleat:nth-child(even)::after {
  background: rgba(0, 0, 0, calc(0.18 + var(--open-progress) * 0.22));
}

.plk .swatch-code {
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-body);
  letter-spacing: 0.01em;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* SECTION WRAPPER */
.plk-kartela-section {
  padding: 2.5rem 1.5rem 2.25rem;
}

/* RESPONSIVE */
@media (max-width: 1080px) {
  .plk .binder-spread {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .plk .page-right {
    order: 1;
    border-radius: 1.5rem;
  }

  .plk .binder-rings {
    display: none;
  }

  .plk .page-left {
    position: relative;
    top: auto;
    order: 2;
    border-radius: 1.5rem;
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .plk-kartela-section {
    padding: 2rem 1rem 1.75rem;
  }

  .plk .divider-tabs-inner {
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }

  .plk .divider-tabs-inner .plk-size-switch {
    order: 1;
  }

  .plk .divider-tabs-inner .search-box {
    flex: 1 1 140px;
    width: auto;
    min-width: 0;
    margin-left: 0;
    order: 2;
  }

  .plk .divider-tabs-inner .page-tabs {
    flex: 1 0 100%;
    width: 100%;
    min-width: 0;
    order: 3;
  }

  .plk .page-right {
    padding: 16px 14px 18px;
  }

  .plk .page-right-header {
    flex-wrap: wrap;
  }

  .plk .swatch-grid--18 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(9, 76px);
    column-gap: 12px;
    row-gap: 10px;
  }

  .plk .swatch-sub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 10px;
  }

  .plk .swatch-slot.is-featured-wide {
    width: 100%;
  }

  .plk .swatch-slot {
    height: 76px;
  }

  .plk .plk-search-input {
    font-size: 16px;
  }
}

/* REAL 15 mm PLICELL KARTELA GALLERY */
.plk-real-section {
  padding: 1rem 1.5rem 2.25rem;
}

.plk-real-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e4e4e7;
}

.plk-real-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.9rem;
}

.plk-real-card {
  position: relative;
  aspect-ratio: 928 / 1152;
  border-radius: 0.875rem;
  overflow: hidden;
  background: #f7f5f2;
  border: 1px solid #e4e4e7;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem;
  width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.plk-real-card:hover {
  border-color: #b6a291;
  box-shadow: 0 14px 28px -10px rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
}

.plk-real-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.6rem;
  display: block;
}

@media (max-width: 1024px) {
  .plk-real-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

@media (max-width: 768px) {
  .plk-real-section {
    padding: 1rem 1rem 2rem;
  }
}

@media (max-width: 640px) {
  .plk-real-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }
}
