/* Çivit — açık pamuk zemin, çivit mürekkebi, kök boya vurgusu. Tüm vitrin .tema-civit altında boyanır; ana sayfa alışverişe açıktır. */

.site-wrap.tema-civit {
    --cv-pamuk: #f4f1ea;
    --cv-yuzey: #fbfaf6;
    --cv-civit: #1c2a52;
    --cv-civit-koyu: #141d3a;
    --cv-orta: #55607f;
    --cv-cizgi: #d9d5c9;
    --cv-kok: #a63d27;
    --cv-serif: 'Fraunces', Georgia, 'Times New Roman', serif;

    --rv-accent: var(--cv-kok);
    --rv-ink: var(--cv-civit);
    --rv-line: var(--cv-cizgi);
    --color-bg: var(--cv-pamuk);
    --color-bg-warm: var(--cv-pamuk);
    --color-surface: var(--cv-yuzey);
    --color-text: var(--cv-civit);
    --color-text-secondary: var(--cv-orta);
    --color-text-muted: var(--cv-orta);
    --color-accent: var(--cv-civit);
    --color-accent-hover: var(--cv-civit-koyu);
    --color-gold: var(--cv-kok);
    --color-gold-hover: #8a3120;
    --color-border: var(--cv-cizgi);
    --color-border-soft: var(--cv-cizgi);
    --radius: 2px;
    --radius-sm: 2px;
    --radius-lg: 2px;
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --header-bg: var(--cv-yuzey);
    --footer-bg: var(--cv-civit-koyu);

    background: var(--cv-pamuk);
    color: var(--cv-civit);
}

html:has(.tema-civit),
html:has(.tema-civit) body {
    background: #f4f1ea;
}

.site-wrap.tema-civit .goccia-ambient-host,
.site-wrap.tema-civit .goccia-transition-veil,
html:has(.tema-civit) .goccia-cursor-ring,
html:has(.tema-civit) .goccia-cursor-dot,
html:has(.tema-civit) .goccia-cursor-trail {
    display: none;
}

/* Süslü imleç bu temada kapalı; tarayıcının kendi imleci geri gelir */
html.goccia-cursor-on:has(.tema-civit),
html.goccia-cursor-on:has(.tema-civit) body {
    cursor: auto;
}

html.goccia-cursor-on:has(.tema-civit) a,
html.goccia-cursor-on:has(.tema-civit) button,
html.goccia-cursor-on:has(.tema-civit) select {
    cursor: pointer;
}

html.goccia-cursor-on:has(.tema-civit) input,
html.goccia-cursor-on:has(.tema-civit) textarea {
    cursor: text;
}

.site-wrap.tema-civit .goccia-catalog-hero-gl {
    display: none;
}

.site-wrap.tema-civit .site-main,
.site-wrap.tema-civit .home-page,
.site-wrap.tema-civit .site-main > [class*="page-"] {
    --rv-ink: var(--cv-civit);
    --rv-line: var(--cv-cizgi);
    --rv-accent: var(--cv-kok);
    background: var(--cv-pamuk);
    color: var(--cv-civit);
}

.site-wrap.tema-civit :focus-visible {
    outline: 2px solid var(--cv-kok);
    outline-offset: 2px;
}

/* Kabuk */

.site-wrap.tema-civit .rv-ann {
    background: var(--cv-civit);
    color: var(--cv-pamuk);
}

.site-wrap.tema-civit .rv-ann-cta {
    color: var(--cv-pamuk);
}

.site-wrap.tema-civit .rv-header,
.site-wrap.tema-civit .rv-header.is-elevated {
    background: var(--cv-yuzey);
    box-shadow: none;
    backdrop-filter: none;
}

.site-wrap.tema-civit .rv-search-field {
    background: var(--cv-pamuk);
    border: 1px solid var(--cv-cizgi);
    border-radius: 2px;
    box-shadow: none;
}

.site-wrap.tema-civit .rv-search-field:focus-within {
    border-color: var(--cv-civit);
    box-shadow: none;
}

.site-wrap.tema-civit .rv-search-input::placeholder {
    color: var(--cv-orta);
}

.site-wrap.tema-civit .rv-nav {
    background: var(--cv-yuzey);
    border-top: 1px solid var(--cv-cizgi);
    border-bottom: 3px double var(--cv-civit);
}

.site-wrap.tema-civit .rv-nav-link {
    color: var(--cv-civit);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}

.site-wrap.tema-civit .rv-nav-link:hover,
.site-wrap.tema-civit .rv-nav-link.is-active {
    border-bottom-color: var(--cv-kok);
}

.site-wrap.tema-civit .rv-cart-badge,
.site-wrap.tema-civit .rv-fav-badge {
    background: var(--cv-kok);
    color: #fff;
}

.site-wrap.tema-civit .rv-footer {
    --rv-mut: #b9c0d4;
    --rv-ink: #f4f1ea;
    --rv-line: #33406a;
    background: var(--cv-civit-koyu);
    color: #f4f1ea;
}

.site-wrap.tema-civit .rv-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Yazı — shop.css başlıklara Figtree'yi !important ile verdiği için burada da gerekli */

.site-wrap.tema-civit .cv-baslik,
.site-wrap.tema-civit .cv-bolum-baslik,
.site-wrap.tema-civit h1,
.site-wrap.tema-civit .rv-headline,
.site-wrap.tema-civit .detail-title,
.site-wrap.tema-civit .detail-story-heading,
.site-wrap.tema-civit .pdp-similar-title {
    font-family: var(--cv-serif) !important;
}

.site-wrap.tema-civit .rv-headline,
.site-wrap.tema-civit .detail-title,
.site-wrap.tema-civit .detail-story-heading,
.site-wrap.tema-civit .pdp-similar-title {
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--cv-civit);
}

/* Düğmeler */

.site-wrap.tema-civit .rv-btn,
.site-wrap.tema-civit .btn-add-cart,
.site-wrap.tema-civit .btn-goccia {
    background: var(--cv-civit);
    border-color: var(--cv-civit);
    color: var(--cv-yuzey);
    border-radius: 2px;
    box-shadow: none;
}

.site-wrap.tema-civit .rv-btn:hover,
.site-wrap.tema-civit .btn-add-cart:hover,
.site-wrap.tema-civit .btn-goccia:hover {
    background: var(--cv-civit-koyu);
    border-color: var(--cv-civit-koyu);
    color: var(--cv-yuzey);
}

/* Ürün kartı */

.site-wrap.tema-civit .dc-item {
    background: transparent;
    border-radius: 0;
}

/* Liste sayfasındaki eğilme efekti satır içi transform yazar */
.site-wrap.tema-civit .dc-item:hover {
    transform: none !important;
}

.site-wrap.tema-civit .dc-item-image,
.site-wrap.tema-civit .dc-item:hover .dc-item-image {
    border-radius: 0;
    box-shadow: none;
    background: var(--cv-yuzey);
    outline: 1px solid var(--cv-cizgi);
    outline-offset: -1px;
}

.site-wrap.tema-civit .dc-item-ship {
    border-radius: 0;
    box-shadow: none;
    background: var(--cv-yuzey);
    color: var(--cv-civit);
}

.site-wrap.tema-civit .dc-item-name a {
    color: var(--cv-civit);
}

.site-wrap.tema-civit .dc-item:hover .dc-item-name a {
    color: var(--cv-kok);
}

.site-wrap.tema-civit .dc-item-price-now {
    color: var(--cv-civit);
}

.site-wrap.tema-civit .dc-item-action-btn {
    border-radius: 2px;
}

/* Ürün detayı */

.site-wrap.tema-civit .detail-buy-panel {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.site-wrap.tema-civit .gallery-main {
    background: var(--cv-yuzey);
    border-radius: 0;
}

.site-wrap.tema-civit .detail-price {
    color: var(--cv-civit);
}

/* Ana sayfa */

.cv-sahne {
    color: var(--cv-civit);
}

.cv-acilis {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    min-height: min(78vh, 720px);
}

.cv-acilis-metin {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px clamp(24px, 5vw, 72px);
}

.cv-kucuk {
    margin: 0 0 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--cv-kok);
}

.cv-baslik {
    margin: 0;
    font-family: var(--cv-serif);
    font-size: clamp(2.5rem, 4.6vw, 4.25rem);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: var(--cv-civit);
    text-wrap: balance;
}

.cv-giris {
    margin: 22px 0 32px;
    max-width: 38ch;
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--cv-orta);
}

.cv-eylemler {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
}

.cv-dugme {
    display: inline-block;
    padding: 14px 26px;
    background: var(--cv-civit);
    color: var(--cv-yuzey);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.2s ease;
}

.cv-dugme:hover {
    background: var(--cv-kok);
    color: #fff;
}

.cv-metin-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--cv-civit);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.cv-metin-link:hover {
    color: var(--cv-kok);
}

.cv-acilis-gorsel {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 320px;
    background-color: var(--cv-civit);
    background-image:
        repeating-linear-gradient(0deg, rgba(244, 241, 234, 0.07) 0 1px, transparent 1px 5px),
        repeating-linear-gradient(90deg, rgba(244, 241, 234, 0.07) 0 1px, transparent 1px 5px);
}

.cv-acilis-gorsel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-etiket {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 10px 16px;
    background: var(--cv-yuzey);
    color: var(--cv-civit);
    font-size: 14px;
    font-weight: 500;
}

/* Kumaşın kenar dokuması: çözgü ipliklerini andıran ince şerit */
.cv-kenar {
    height: 14px;
    background-color: var(--cv-civit);
    background-image: repeating-linear-gradient(90deg, var(--cv-pamuk) 0 2px, transparent 2px 6px, var(--cv-kok) 6px 7px, transparent 7px 12px);
    background-size: 100% 8px;
    background-position: 0 3px;
    background-repeat: no-repeat;
}

.cv-bolum {
    padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 72px) 0;
    scroll-margin-top: 16px;
}

.cv-bolum:last-child {
    padding-bottom: clamp(40px, 6vw, 72px);
}

.cv-bolum-bas {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--cv-civit);
}

.cv-bolum-baslik {
    margin: 0;
    font-family: var(--cv-serif);
    font-size: clamp(1.625rem, 2.6vw, 2.25rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--cv-civit);
}

.cv-izgara {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cv-izgara.is-buyuk {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cv-izgara.is-buyuk > li:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.cv-izgara > li {
    display: flex;
    min-width: 0;
}

.cv-kart {
    display: flex;
    flex-direction: column;
    width: 100%;
    color: var(--cv-civit);
    text-decoration: none;
}

.cv-kart-gorsel {
    position: relative;
    display: block;
    flex: 1;
    min-height: 220px;
    overflow: hidden;
    background-color: var(--cv-civit);
    background-image:
        repeating-linear-gradient(0deg, rgba(244, 241, 234, 0.07) 0 1px, transparent 1px 5px),
        repeating-linear-gradient(90deg, rgba(244, 241, 234, 0.07) 0 1px, transparent 1px 5px);
}

.cv-kart-gorsel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cv-kart:hover .cv-kart-gorsel img {
    transform: scale(1.03);
}

.cv-kart-alt {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
}

.cv-kart-ad {
    font-size: 1rem;
    font-weight: 600;
}

.cv-kart:hover .cv-kart-ad {
    color: var(--cv-kok);
}

.cv-kart-adet {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--cv-orta);
}

@media (max-width: 860px) {
    .cv-acilis {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .cv-acilis-metin {
        padding: 40px 16px 32px;
    }

    .cv-acilis-gorsel {
        aspect-ratio: 4 / 3;
        min-height: 0;
    }

    .cv-bolum {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cv-izgara,
    .cv-izgara.is-buyuk {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .cv-izgara.is-buyuk > li:first-child {
        grid-column: span 2;
        grid-row: auto;
    }

    .cv-kart-gorsel {
        min-height: 0;
        aspect-ratio: 1 / 1;
        flex: none;
    }

    .cv-kart-alt {
        flex-direction: column;
        gap: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cv-kart-gorsel img,
    .cv-dugme {
        transition: none;
    }

    .cv-kart:hover .cv-kart-gorsel img {
        transform: none;
    }
}
