/* ============================================
   YG Download Center Detail
   Scoped from Shopify yg-download-center-detail.liquid
   ============================================ */

   .yg-download-center-detail .section-stack {
    gap: 0;
}

.yg-download-center-detail {
    --yg-download-detail-columns: 4;
    --yg-download-detail-gap: 12px;
    --yg-download-detail-card-padding: 28px;
}

@media (max-width: 699px) {
    .yg-download-center-detail {
        --yg-download-detail-columns: 2;
        --yg-download-detail-gap: 12px;
        --yg-download-detail-card-padding: 20px;
    }
}

.yg-download-center-detail .yg-breadcrumbs {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.yg-download-center-detail .yg-breadcrumbs a,
.yg-download-center-detail .yg-breadcrumbs span {
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark-1, #000);
}

.yg-download-center-detail .yg-breadcrumbs a {
    opacity: 0.6;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.yg-download-center-detail .yg-breadcrumbs a:hover {
    opacity: 1;
}

.yg-download-center-detail .yg-breadcrumbs .breadcrumb-separator {
    opacity: 0.6;
}

.yg-download-center-detail .yg-breadcrumbs .breadcrumb-current {
    opacity: 1;
}

.yg-download-center-detail .yg-download-detail__product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: var(--block-gap-xl);
    background: var(--grey-2, #f4f4f4);
    margin-bottom: var(--block-gap-xs);
}

.yg-download-center-detail .yg-download-detail__product-media {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.yg-download-center-detail .yg-download-detail__product-image {
    width: 160px;
    height: 160px;
    object-fit: contain;
    background: var(--grey-2, #f4f4f4);
}

.yg-download-center-detail .yg-download-detail__product-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.yg-download-center-detail .yg-download-detail__product-title {
    font-size: var(--font-heading-large-h5, 24px);
    font-weight: 600;
    line-height: 1.4;
    color: var(--dark-1, #000);
    margin: 0;
}

.yg-download-center-detail .yg-download-detail__product-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--dark-3, #242526);
    color: var(--grey-1, #fff);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    text-decoration: none;
    transition: opacity 0.3s;
    width: fit-content;
}

.yg-download-center-detail .yg-download-detail__product-link:hover {
    opacity: 0.8;
}

.yg-download-center-detail .yg-download-detail__documents {
    display: grid;
    grid-template-columns: repeat(var(--yg-download-detail-columns), 1fr);
    gap: var(--yg-download-detail-gap);
}

.yg-download-center-detail .yg-download-detail__document {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: var(--yg-download-detail-card-padding);
    background: var(--grey-2, #f4f4f4);
}

.yg-download-center-detail .yg-download-detail__document-icon {
    width: 48px;
    height: 48px;
}

.yg-download-center-detail .yg-download-detail__document-icon svg {
    width: 100%;
    height: 100%;
}

.yg-download-center-detail .yg-download-detail__document-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.yg-download-center-detail .yg-download-detail__document-name {
    font-size: var(--text-base);
    font-weight: 600;
    line-height: 1.6;
    color: var(--dark-1, #000);
    margin: 0;
    word-break: break-word;
}

.yg-download-center-detail .yg-download-detail__document-date {
    font-size: var(--text-sm);
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-7, #707275);
    margin: 0;
}

.yg-download-center-detail .yg-download-detail__document-download {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: none;
    border: none;
    color: var(--dark-3, #242526);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.6;
    cursor: pointer;
    transition: opacity 0.3s;
    position: relative;
}

.yg-download-center-detail .yg-download-detail__document-download:hover {
    opacity: 0.7;
}

.yg-download-center-detail .yg-download-detail__document-download svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 699px) {
    .yg-download-center-detail .yg-breadcrumbs {
        margin-bottom: 24px;
    }

    .yg-download-center-detail .yg-download-detail__product {
        gap: 6px;
        padding: 16px;
    }

    .yg-download-center-detail .yg-download-detail__product-media {
        justify-content: center;
    }

    .yg-download-center-detail .yg-download-detail__product-content {
        align-items: flex-start;
    }

    .yg-download-center-detail .yg-download-detail__product-title {
        font-size: 20px;
    }

    .yg-download-center-detail .yg-download-detail__document {
        gap: 14px;
    }
}
