.mpd-files-list {
    list-style: none;
    margin: 30px 0 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Mobile fixes for Product Tabs (Minimog Theme Specific) */
/* Mobile fixes for Product Tabs (Minimog Theme Specific) */
@media (max-width: 768px) {
    .mpd-files-list {
        grid-template-columns: 1fr;
    }

    /* Force Minimog tabs to be in one row */
    .minimog-tabs__header {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: hidden !important;
        overflow-y: hidden !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 8px !important;
        /* Add space between buttons */
        border-bottom: none !important;
        /* Remove line under tabs */
    }

    /* Target Minimog specific tab structure */
    .minimog-tabs__header .tab-title {
        flex: 1 1 auto !important;
        white-space: nowrap !important;
        padding: 8px 10px !important;
        margin: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;

        /* Button styling */
        background: #f3f3f3 !important;
        border-radius: 4px !important;
        color: #555 !important;
        transition: all 0.2s ease !important;
        border: 1px solid transparent !important;
    }

    /* Active Tab Style */
    .minimog-tabs__header .tab-title.active {
        background: linear-gradient(135deg, #ea580c, #dc2626) !important;
        color: #fff !important;
        font-weight: 600 !important;
        box-shadow: 0 4px 6px rgba(234, 88, 12, 0.25);
        /* Add subtle glow like the badge */
    }

    /* Reduce font size to fit */
    .minimog-tabs__header .tab-title .tab-title__text {
        font-size: 13px !important;
        line-height: 1.2 !important;
    }

    /* Force white text on active tab */
    .minimog-tabs__header .tab-title.active .tab-title__text {
        color: #ffffff !important;
    }

    /* Remove the underline effect common in themes */
    .minimog-tabs__header .tab-title::after {
        display: none !important;
    }

    /* Specific fix for "Papildoma informacija" (Additional Information) */
    .minimog-tabs__header .tab-title.additional_information_tab .tab-title__text {
        font-size: 0 !important;
        /* Hide original text */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Inject new short text "Informacija" */
    .minimog-tabs__header .tab-title.additional_information_tab .tab-title__text::before {
        content: 'Informacija';
        font-size: 13px !important;
        display: block;
        color: inherit;
    }
}

.mpd-download-link {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 25px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.mpd-download-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.0);
}

/* Add a colored accent line at the bottom or left on hover */
.mpd-download-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: var(--minimog-color-primary, #000);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    border-radius: 3px 3px 0 0;
}

.mpd-download-link:hover::after {
    transform: scaleX(1);
}

.mpd-download-link .dashicons {
    font-size: 42px;
    width: 42px;
    height: 42px;
    margin-right: 25px;
    color: var(--minimog-color-primary, #333);
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.mpd-download-link:hover .dashicons {
    transform: scale(1.1);
}

.mpd-file-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mpd-file-name {
    font-weight: 700;
    font-size: 16px;
    color: #111;
    margin-bottom: 6px;
    line-height: 1.2;
}

.mpd-file-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.mpd-download-btn-text {
    background: transparent;
    border: 2px solid #eee;
    padding: 10px 20px;
    border-radius: 30px;
    /* Pill shape */
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-left: 20px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.mpd-download-link:hover .mpd-download-btn-text {
    background: var(--minimog-color-primary, #000);
    border-color: var(--minimog-color-primary, #000);
    color: #ffffff;
}