/* GOCCIA — site geneli WebGL ambient + 3D kart / PDP */

.goccia-ambient-host {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.goccia-ambient-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.site-wrap {
    position: relative;
}

.site-wrap > :not(.goccia-ambient-host) {
    position: relative;
    z-index: 1;
}

.site-main {
    background: rgba(255, 255, 255, 0.88);
}

.page-catalog .dc-shop-main,
.home-page .rv-section:first-of-type {
    position: relative;
}

.gh-scroll-story,
.page-urun-detay.gh-pdp .gallery-shell {
    background: transparent;
}

.catalog-header[data-goccia-catalog-hero] {
    position: relative;
    overflow: hidden;
    padding: 1.35rem 1.25rem 1.5rem;
    margin: 0 0 1.75rem;
    border-radius: 16px;
    isolation: isolate;
}

.catalog-header[data-goccia-catalog-hero] h1,
.catalog-header[data-goccia-catalog-hero] .catalog-lead {
    position: relative;
    z-index: 2;
}

.goccia-catalog-hero-gl {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    border-radius: inherit;
}

.goccia-card-tilt-grid,
.rv-rail.goccia-card-tilt-grid {
    perspective: 1200px;
}

.goccia-card-tilt-grid .dc-item,
.rv-rail.goccia-card-tilt-grid .dc-item {
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transform-style: preserve-3d;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
    will-change: transform;
}

.goccia-card-tilt-grid .dc-item:hover,
.rv-rail.goccia-card-tilt-grid .dc-item:hover {
    box-shadow: 0 18px 48px rgba(26, 23, 21, 0.12);
}

.pdp-gallery-stage.is-pdp-parallax .gallery-main-img:not(.gallery-main-img--placeholder) {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.goccia-pdp-gl {
    display: none !important;
}

.auth-split-page.gh-auth .auth-split-brand {
    position: relative;
    overflow: hidden;
}

.page-sepet.gh-cart-page .page-header,
.page-odeme .page-header {
    position: relative;
}

@media (prefers-reduced-motion: reduce) {
    .goccia-ambient-host,
    .goccia-catalog-hero-gl,
    .goccia-pdp-gl {
        display: none !important;
    }

    .goccia-card-tilt-grid .dc-item,
    .rv-rail.goccia-card-tilt-grid .dc-item {
        transform: none;
    }

    .site-main {
        background: #fff;
    }
}
