/* GOCCIA — ortak konfigurator / satin alma kabugu (hero + PDP) */

.goccia-config-shell {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(176, 141, 87, 0.28);
    backdrop-filter: blur(18px) saturate(1.08);
    box-shadow:
        0 20px 60px rgba(34, 35, 33, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.goccia-config-shell::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        125deg,
        rgba(176, 141, 87, 0.45),
        rgba(255, 255, 255, 0.5) 40%,
        rgba(176, 141, 87, 0.2) 75%,
        transparent
    );
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.75;
    animation: goccia-shell-shimmer 9s ease-in-out infinite alternate;
}

.goccia-config-shell--dark {
    color: #f7f2ea;
    background: rgba(22, 20, 18, 0.78);
    border-color: rgba(176, 141, 87, 0.22);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.goccia-config-shell--dark::before {
    background: linear-gradient(
        125deg,
        rgba(176, 141, 87, 0.55),
        rgba(255, 255, 255, 0.08) 35%,
        rgba(176, 141, 87, 0.25) 70%,
        transparent
    );
    opacity: 0.85;
}

@keyframes goccia-shell-shimmer {
    from { opacity: 0.5; }
    to { opacity: 0.95; }
}

.goccia-config-inner {
    position: relative;
    z-index: 1;
}

.goccia-config-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted, rgba(107, 107, 107, 0.95));
    margin-bottom: 0.55rem;
}

.goccia-config-shell--dark .goccia-config-label {
    color: rgba(138, 129, 120, 0.95);
}

.goccia-seg {
    position: relative;
    display: inline-flex;
    flex-wrap: nowrap;
    max-width: 100%;
    padding: 3px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    gap: 0;
}

.goccia-seg--wrap {
    flex-wrap: wrap;
    border-radius: 14px;
    padding: 4px;
}

.goccia-config-shell--dark .goccia-seg {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.08);
}

.goccia-seg-glide {
    position: absolute;
    top: 3px;
    left: 3px;
    height: calc(100% - 6px);
    width: 4rem;
    border-radius: 999px;
    background: #222321;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition:
        top 0.38s cubic-bezier(0.34, 1.2, 0.64, 1),
        left 0.38s cubic-bezier(0.34, 1.2, 0.64, 1),
        width 0.25s ease,
        height 0.25s ease,
        opacity 0.2s ease,
        border-radius 0.2s ease;
    pointer-events: none;
    z-index: 0;
}

.goccia-config-shell--dark .goccia-seg-glide {
    background: #f7f2ea;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.goccia-seg--wrap .goccia-seg-glide {
    border-radius: 10px;
}

.goccia-seg-btn {
    position: relative;
    z-index: 1;
    border: none;
    background: transparent;
    color: var(--color-text, #222321);
    font-size: 0.78rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.goccia-config-shell--dark .goccia-seg-btn {
    color: rgba(232, 220, 200, 0.75);
}

.goccia-seg-btn.active,
.goccia-seg-btn.is-on {
    color: #fff;
    font-weight: 600;
}

.goccia-config-shell--dark .goccia-seg-btn.active,
.goccia-config-shell--dark .goccia-seg-btn.is-on {
    color: #1a1714;
}

.goccia-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.goccia-trust li {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    color: var(--color-text-secondary, rgba(107, 107, 107, 0.95));
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(176, 141, 87, 0.08);
    border: 1px solid rgba(176, 141, 87, 0.18);
}

.goccia-config-shell--dark .goccia-trust li {
    color: rgba(196, 184, 168, 0.88);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.07);
}

.goccia-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
    --goccia-cta-mx: 0px;
    --goccia-cta-my: -2px;
}

.goccia-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.45) 50%,
        transparent 60%
    );
    transform: translateX(-120%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.goccia-cta:hover::after {
    transform: translateX(120%);
}

.goccia-cta--explore {
    background: linear-gradient(135deg, #f7f2ea, #e8dcc8);
    color: #1a1714;
}

.goccia-cta--cart {
    background: linear-gradient(135deg, #c4a574, #b08d57 45%, #967546);
    color: #fff;
    flex: 1 1 auto;
    min-width: 10rem;
    font-size: 0.9rem;
}

.goccia-cta:hover:not(:disabled) {
    transform: translate(var(--goccia-cta-mx, 0px), var(--goccia-cta-my, -2px));
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.goccia-cta:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.goccia-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(176, 141, 87, 0.25);
    background: rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    overflow: hidden;
}

.goccia-config-shell--dark .goccia-qty {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.25);
}

.goccia-qty-btn {
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    background: transparent;
    font-size: 1.125rem;
    cursor: pointer;
    color: inherit;
    transition: background 0.15s;
}

.goccia-qty-btn:hover {
    background: rgba(176, 141, 87, 0.12);
}

.goccia-qty-val {
    min-width: 2.5rem;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.goccia-swatch-ring {
    box-shadow:
        0 0 0 2px #fff,
        0 0 0 3px rgba(176, 141, 87, 0.55),
        0 8px 20px rgba(0, 0, 0, 0.12);
    transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
    .goccia-config-shell::before {
        animation: none;
    }

    .goccia-cta::after {
        display: none;
    }
}
