/* ── Ürün Linkleri (product detail page) ──────────────────────── */
.product-links-section {
    margin: 24px 0;
}
.product-links-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #9c7d50;
    font-weight: 600;
    margin-bottom: 12px;
}
.product-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid #ddd5c8;
    border-radius: 10px;
    overflow: hidden;
}
.product-link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #f5ede0;
    border-bottom: 1px solid #ddd5c8;
    text-decoration: none;
    color: #2d1f0d;
    transition: background .15s;
}
.product-link-card:last-child { border-bottom: none; }
.product-link-card:hover { background: #ede0cc; }
.plc-icon {
    font-size: 16px;
    opacity: .6;
    flex-shrink: 0;
}
.plc-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
}

/* ── Collection header (category title + "Tümünü Gör" link) ── */
.collection-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e8dbcc;
}
.collection-header .badge { display: inline-block; margin-bottom: 6px; }
.collection-header-info  { display: flex; flex-direction: column; }
.collection-desc         { margin: 4px 0 0; color: #7a6a55; font-size: 14px; }
.btn-sm { padding: 9px 18px; font-size: 12px; white-space: nowrap; }

/* ── Rich text page content (font spans rendered as HTML) ── */
.rich-text { line-height: 1.85; font-size: 16px; color: #2d2013; }
.rich-text p  { margin: 0 0 1em; }
.rich-text ul { padding-left: 1.4em; margin: 0 0 1em; }
.rich-text li { margin-bottom: .4em; }
.rich-text b, .rich-text strong { font-weight: 700; }
.rich-text i, .rich-text em     { font-style: italic; }

/* ── Page hero section ── */
.page-hero { padding: 52px 0 28px; background: #fdf9f4; border-bottom: 1px solid #eee1d1; }
.page-hero .eyebrow { display: inline-block; font-size: 11px; text-transform: uppercase;
    letter-spacing: .12em; color: #9c7d50; margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(26px, 4vw, 42px); color: #1a0f00; margin: 0 0 10px; }
.page-hero p  { color: #7a6a55; margin: 0; max-width: 560px; }

@media (max-width: 680px) {
    .collection-header { flex-direction: column; align-items: flex-start; }
}

/* Product detail image fix patch */
.main-shot img,
.thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-shot {
    overflow: hidden;
}

.thumb {
    cursor: pointer;
}

.zoomable-image {
    cursor: zoom-in;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.88);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox-image {
    max-width: 95vw;
    max-height: 92vh;
    box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

.lightbox-close {
    position: absolute;
    top: 14px;
    right: 24px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

/* ── Koleksiyonlar — kategori kart grid ─────────────────────── */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.collection-cover-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e6dacc;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .2s, transform .2s;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.collection-cover-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.13);
    transform: translateY(-3px);
}

.ccc-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f0e8dc;
}
.ccc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}
.collection-cover-card:hover .ccc-image img {
    transform: scale(1.04);
}
.ccc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(20,10,0,.35) 100%);
}
.ccc-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5ede0 0%, #e8d9c4 100%);
}
.ccc-placeholder span {
    font-size: 72px;
    font-weight: 700;
    color: #c9a87c;
    line-height: 1;
}

.ccc-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.ccc-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a0f00;
    margin: 0;
    letter-spacing: .01em;
}
.ccc-desc {
    font-size: 13px;
    color: #7a6a55;
    margin: 0;
    line-height: 1.5;
}
.ccc-count {
    font-size: 12px;
    color: #9c7d50;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-top: 2px;
}
.ccc-arrow {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #9c7d50;
    letter-spacing: .02em;
}
.collection-cover-card:hover .ccc-arrow {
    color: #7a5c2e;
}

@media (max-width: 680px) {
    .collections-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .ccc-title { font-size: 16px; }
    .ccc-body  { padding: 14px 16px 18px; }
}
@media (max-width: 420px) {
    .collections-grid { grid-template-columns: 1fr; }
}
