/* Goat Forma — Mağaza sayfaları (hub + kategori) */

.shop-page {
    background: #fafafa;
}

.shop-page-header {
    padding: 1.25rem 0 0.5rem;
}

.shop-page-header .breadcrumb {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.shop-page-header .breadcrumb a {
    color: #555;
    text-decoration: none;
}

.shop-page-header .breadcrumb a:hover {
    color: #c41e1e;
}

#shop-page-h1 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 600;
    color: #111;
    margin: 0 0 0.35rem;
    letter-spacing: -0.02em;
}

.shop-page-intro {
    color: #666;
    font-size: 0.95rem;
    max-width: 42rem;
    margin: 0 0 1.5rem;
    line-height: 1.55;
}

.shop-top-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.shop-top-bar .showing-result p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.shop-filtaring a {
    font-size: 0.875rem;
    font-weight: 500;
    color: #c41e1e;
    text-decoration: none;
    transition: opacity 0.18s ease;
}

.shop-filtaring a:hover {
    opacity: 0.75;
}

#shop-legacy-notice {
    background: linear-gradient(90deg, rgba(196, 30, 30, 0.08), transparent);
    border-left: 3px solid #c41e1e;
    padding: 0.65rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    color: #444;
}

#shop-legacy-notice a {
    color: #c41e1e;
    font-weight: 600;
}

#dynamic-product-row {
    animation: shopFadeIn 0.45s ease-out;
}

@keyframes shopFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#dynamic-product-row .product__thumb {
    position: relative;
}

#dynamic-product-row .product__thumb img.dynamic-img {
    width: 100%;
    height: 450px;
    object-fit: contain;
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    transition: opacity 0.2s ease-in-out;
}

.hover-scrub {
    cursor: crosshair;
}

.scrub-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
    pointer-events: none;
}

.scrub-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.scrub-dot.active {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.2);
}

/* Kategori hub */
.shop-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    padding-bottom: 4rem;
}

.shop-hub-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.shop-hub-card:hover {
    border-color: rgba(196, 30, 30, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.shop-hub-card__img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eee;
}

.shop-hub-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.shop-hub-card:hover .shop-hub-card__img img {
    transform: scale(1.03);
}

.shop-hub-card__body {
    padding: 1rem 1.1rem 1.25rem;
}

.shop-hub-card__tag {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999;
}

.shop-hub-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #111;
    margin: 0.35rem 0 0;
}

.shop-hub-card__cta {
    font-size: 0.8rem;
    color: #c41e1e;
    margin-top: 0.5rem;
    font-weight: 500;
}

@media (max-width: 767px) {
    .shop-page.pt-85 {
        padding-top: 12px;
    }

    .shop-page #main-banner.page-layout {
        padding: 0;
        min-height: 86px;
        background-size: cover;
        background-position: center;
    }

    .shop-page-header {
        padding-top: 0.85rem;
    }

    #dynamic-product-row {
        margin-left: -6px;
        margin-right: -6px;
    }

    #dynamic-product-row > article {
        width: 50%;
        flex: 0 0 50%;
        padding-left: 6px;
        padding-right: 6px;
    }

    #dynamic-product-row .product__thumb img.dynamic-img {
        height: auto;
        aspect-ratio: 1 / 1;
        padding: 8px;
    }

    #dynamic-product-row .product__name h3 {
        font-size: 13px;
        line-height: 1.3;
    }

    #dynamic-product-row .pro-price p {
        font-size: 13px;
    }

    .shop-hub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .shop-hub-card__body {
        padding: 0.85rem;
    }

    .shop-hub-card__title {
        font-size: 0.92rem;
        line-height: 1.25;
    }

    .shop-hub-card__cta {
        font-size: 0.75rem;
    }
}
