/* Koleksiyon şeridi — 5 sütun, önizleme, modern reveal */
.pd-series-strip {
    --pd-series-cols: 5;
    --pd-series-row-h: 128px;
    --pd-series-peek-max: calc(var(--pd-series-row-h) * 1.55 + 10px);
    --pd-series-accent: #10b981;
    --pd-series-paket: #d97706;
    margin: 0 0 4px;
    padding: 12px 12px 14px;
    background: var(--pd-surface, #fff);
    border: 1px solid var(--pd-border, #e5e7eb);
    border-radius: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.pd-series-strip__head {
    margin-bottom: 10px;
}

.pd-series-strip__title-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.pd-series-strip__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--pd-text, #111827);
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.pd-series-strip__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.14), rgba(16, 185, 129, 0.06));
    color: var(--pd-series-accent);
    flex-shrink: 0;
}

.pd-series-strip__meta {
    font-size: 11px;
    font-weight: 500;
    color: var(--pd-muted, #6b7280);
    padding-left: 34px;
}

.pd-series-strip__meta-dot {
    margin: 0 4px;
    opacity: 0.5;
}

.pd-series-strip__meta-paket {
    color: var(--pd-series-paket);
    font-weight: 600;
}

.pd-series-strip__grid-wrap {
    position: relative;
}

.pd-series-strip__grid {
    display: grid;
    grid-template-columns: repeat(var(--pd-series-cols), minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.pd-series-strip.is-collapsed .pd-series-strip__grid {
    position: relative;
    max-height: var(--pd-series-peek-max);
    overflow: hidden;
}

.pd-series-strip.is-collapsed .pd-series-strip__grid::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48px;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.55) 42%,
        var(--pd-surface, #fff) 100%
    );
}

.pd-series-strip.is-collapsed .pd-series-item--beyond {
    display: none !important;
}

.pd-series-strip__actions {
    display: none;
    position: relative;
    flex-direction: column;
    align-items: center;
    padding-top: 4px;
}

.pd-series-strip.is-collapsed .pd-series-strip__actions {
    display: flex;
}

.pd-series-strip.is-collapsed .pd-series-strip__reveal-wrap {
    display: flex;
}

.pd-series-strip.is-collapsed .pd-series-strip__peek-hit {
    display: block;
}

.pd-series-strip.is-expanded .pd-series-strip__grid {
    max-height: none;
    overflow: visible;
}

.pd-series-strip.is-expanded .pd-series-strip__grid::after {
    display: none;
}

.pd-series-strip.is-expanded .pd-series-item--beyond {
    display: flex !important;
}

.pd-series-strip.is-expanded .pd-series-strip__actions {
    display: none !important;
}

.pd-series-strip.is-expanded .pd-series-collapse {
    display: inline-flex;
}

.pd-series-strip__peek-hit {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border: none;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
    z-index: 1;
}

.pd-series-strip__reveal-wrap {
    display: none;
    position: relative;
    justify-content: center;
    padding: 0 8px 2px;
    z-index: 2;
    pointer-events: none;
}

.pd-series-reveal {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    padding: 8px 14px 8px 8px;
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 4px 20px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    color: var(--pd-text, #111827);
}

.pd-series-reveal:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow:
        0 8px 28px rgba(16, 185, 129, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.pd-series-reveal:active {
    transform: translateY(0);
}

.pd-series-reveal__orb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(145deg, #10b981, #059669);
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.pd-series-reveal__count {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pd-series-reveal__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    min-width: 0;
    text-align: left;
}

.pd-series-reveal__title {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.pd-series-reveal__sub {
    font-size: 10px;
    font-weight: 500;
    color: var(--pd-muted, #6b7280);
    line-height: 1.2;
}

.pd-series-reveal__chev {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pd-series-accent);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.pd-series-strip.is-expanded .pd-series-reveal__chev {
    transform: rotate(180deg);
}

.pd-series-collapse {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 12px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--pd-muted, #6b7280);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s ease;
}

.pd-series-collapse:hover {
    color: var(--pd-series-accent);
}

/* Ürün kartı */
.pd-series-item {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    transition: transform 0.15s ease;
}

.pd-series-item:hover {
    transform: translateY(-2px);
}

.pd-series-item--paket .pd-series-item__media {
    box-shadow: 0 0 0 1px rgba(217, 119, 6, 0.25);
}

.pd-series-item__media {
    position: relative;
    border-radius: 11px;
    overflow: hidden;
}

.pd-series-item__img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--pd-bg, #f3f4f6);
    border: 1px solid var(--pd-border, #e5e7eb);
    display: block;
    transition: transform 0.25s ease;
}

.pd-series-item:hover .pd-series-item__img {
    transform: scale(1.03);
}

.pd-series-item__badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1;
}

.pd-series-item__badge--paket {
    top: 5px;
    left: 5px;
    color: #fff;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.95), rgba(180, 83, 9, 0.95));
    box-shadow: 0 2px 8px rgba(180, 83, 9, 0.35);
}

.pd-series-item__badge--parts {
    top: 5px;
    right: 5px;
    color: #374151;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-transform: none;
    font-size: 7px;
}

.pd-series-item__title {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--pd-text, #111827);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pd-series-item__price {
    font-size: 9px;
    font-weight: 700;
    color: var(--pd-series-accent);
}

/* Dark */
body.dark-theme .pd-series-strip {
    background: #333;
    border-color: #404040;
}

body.dark-theme .pd-series-strip__label {
    color: #f3f4f6;
}

body.dark-theme .pd-series-strip__icon {
    background: rgba(16, 185, 129, 0.18);
}

body.dark-theme .pd-series-strip.is-collapsed .pd-series-strip__grid::after {
    background: linear-gradient(180deg, rgba(51, 51, 51, 0), rgba(51, 51, 51, 0.55) 42%, #333 100%);
}

body.dark-theme .pd-series-reveal {
    background: rgba(42, 42, 42, 0.94);
    border-color: rgba(16, 185, 129, 0.28);
    color: #f3f4f6;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

body.dark-theme .pd-series-reveal__sub {
    color: #9ca3af;
}

body.dark-theme .pd-series-item__img {
    border-color: #404040;
    background: #2a2a2a;
}

body.dark-theme .pd-series-item__badge--parts {
    color: #e5e5e5;
    background: rgba(38, 38, 38, 0.92);
    border-color: #505050;
}

body.dark-theme .pd-series-item--paket .pd-series-item__media {
    box-shadow: 0 0 0 1px rgba(217, 119, 6, 0.4);
}

body.dark-theme .pd-series-collapse:hover {
    color: #6ee7b7;
}

@media (max-width: 640px) {
    .pd-series-strip {
        --pd-series-cols: 4;
        --pd-series-row-h: 112px;
    }

    .pd-series-reveal__title {
        max-width: 140px;
    }
}

@media (max-width: 480px) {
    .pd-series-strip {
        --pd-series-cols: 3;
        --pd-series-row-h: 108px;
    }

    .pd-series-strip__grid {
        gap: 6px;
    }

    .pd-series-reveal {
        gap: 8px;
        padding: 7px 12px 7px 7px;
    }

    .pd-series-reveal__orb {
        width: 32px;
        height: 32px;
    }

    .pd-series-reveal__title {
        max-width: 120px;
        font-size: 11px;
    }
}
